Skip to content
Snippets Groups Projects
Commit 2e997873 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

small fix.

Former-commit-id: 0d02a594647b2610351e22163c1c9686947ab522
parent 8598baed
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <hdf5.h> #include <hdf5.h>
#include <math.h> #include <math.h>
#include "cycle.h"
#include "lock.h" #include "lock.h"
#include "task.h" #include "task.h"
#include "part.h" #include "part.h"
......
...@@ -725,7 +725,7 @@ void *runner_main ( void *data ) { ...@@ -725,7 +725,7 @@ void *runner_main ( void *data ) {
t->rid = r->id; t->rid = r->id;
/* Different types of tasks... */ /* Different types of tasks... */
t->tic = gettics(); t->tic = getticks();
switch ( t->type ) { switch ( t->type ) {
case task_type_self: case task_type_self:
if ( t->subtype == task_subtype_density ) if ( t->subtype == task_subtype_density )
...@@ -771,7 +771,7 @@ void *runner_main ( void *data ) { ...@@ -771,7 +771,7 @@ void *runner_main ( void *data ) {
default: default:
error( "Unknown task type." ); error( "Unknown task type." );
} }
t->toc = gettics(); t->toc = getticks();
/* Resolve any dependencies. */ /* Resolve any dependencies. */
for ( k = 0 ; k < t->nr_unlock_tasks ; k++ ) for ( k = 0 ; k < t->nr_unlock_tasks ; k++ )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment