Commit 2e997873 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

small fix.


Former-commit-id: 0d02a594647b2610351e22163c1c9686947ab522
parent 8598baed
......@@ -32,6 +32,7 @@
#include <hdf5.h>
#include <math.h>
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "part.h"
......
......@@ -725,7 +725,7 @@ void *runner_main ( void *data ) {
t->rid = r->id;
/* Different types of tasks... */
t->tic = gettics();
t->tic = getticks();
switch ( t->type ) {
case task_type_self:
if ( t->subtype == task_subtype_density )
......@@ -771,7 +771,7 @@ void *runner_main ( void *data ) {
default:
error( "Unknown task type." );
}
t->toc = gettics();
t->toc = getticks();
/* Resolve any dependencies. */
for ( k = 0 ; k < t->nr_unlock_tasks ; k++ )
......
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