|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2008-2012,2014-2017 Université de Bordeaux
|
|
|
+ * Copyright (C) 2008-2012,2014-2017,2019 Université de Bordeaux
|
|
|
* Copyright (C) 2010-2012,2015,2017 CNRS
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -220,7 +220,8 @@ void _starpu_timing_init(void)
|
|
|
|
|
|
void _starpu_clock_gettime(struct timespec *ts)
|
|
|
{
|
|
|
- timerclear(ts);
|
|
|
+ ts->tv_sec = 0;
|
|
|
+ ts->tv_nsec = 0;
|
|
|
}
|
|
|
#endif
|
|
|
#endif // HAVE_CLOCK_GETTIME
|