Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDC
cats
Commits
81e4eb78
Commit
81e4eb78
authored
1 year ago
by
Andreas Gattringer
Browse files
Options
Downloads
Patches
Plain Diff
renamed debug variables
parent
f5a7fa10
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cats/threading/threading-helpers.c
+3
-3
3 additions, 3 deletions
src/cats/threading/threading-helpers.c
src/cats/threading/threading.h
+3
-3
3 additions, 3 deletions
src/cats/threading/threading.h
with
6 additions
and
6 deletions
src/cats/threading/threading-helpers.c
+
3
−
3
View file @
81e4eb78
...
...
@@ -50,9 +50,9 @@ initialize_thread(struct cats_thread_info *thread, struct cats_grid *grid, struc
zero_statistics_stats
(
&
thread
->
stats
[
i
]);
}
thread
->
temp_adults_present
=
0
;
thread
->
temp1
=
0
;
thread
->
temp2
=
0
;
thread
->
rw_debug_cells_with_adults
=
0
;
thread
->
rw_debug_random_walks
=
0
;
thread
->
rw_debug_deposits
=
0
;
thread
->
seed
=
get_random_seed
(
false
);
for
(
int
i
=
0
;
i
<
4
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
src/cats/threading/threading.h
+
3
−
3
View file @
81e4eb78
...
...
@@ -50,9 +50,9 @@ struct cats_thread_info {
struct
cats_configuration
*
conf
;
gsl_rng
*
rng
;
unsigned
int
rng_seed
;
int64_t
temp_adults_present
;
int64_t
temp1
;
int64_t
temp2
;
int64_t
rw_debug_cells_with_adults
;
int64_t
rw_debug_random_walks
;
int64_t
rw_debug_deposits
;
char
*
rng_state_buffer
;
int32_t
rng_buf_size
;
struct
random_data
*
rng_state
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment