Commit c6323361 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

add timer information to cells in kick1.


Former-commit-id: 19f573130d80419c142cad04425fb7c045827670
parent 4f61fdfb
......@@ -422,6 +422,10 @@ void engine_map_kick_first ( struct cell *c , void *data ) {
/* No children? */
if ( !c->split ) {
/* Store the timer. */
c->tic = getticks();
c->tid = omp_get_thread_num();
/* Init the min/max counters. */
dt_min = FLT_MAX;
dt_max = 0.0f;
......@@ -504,6 +508,9 @@ void engine_map_kick_first ( struct cell *c , void *data ) {
}
/* Store the timer. */
c->toc = getticks();
}
/* Otherwise, agregate data from children. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment