schedstats: revert #6975, use 32Bit again

This commit is contained in:
smlng 2017-06-01 10:07:14 +02:00
parent bc18105e2f
commit e7136e2dde
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ NORETURN void sched_task_exit(void);
* Scheduler statistics * Scheduler statistics
*/ */
typedef struct { typedef struct {
uint64_t laststart; /**< Time stamp of the last time this thread was uint32_t laststart; /**< Time stamp of the last time this thread was
scheduled to run */ scheduled to run */
unsigned int schedules; /**< How often the thread was scheduled to run */ unsigned int schedules; /**< How often the thread was scheduled to run */
uint64_t runtime_ticks; /**< The total runtime of this thread in ticks */ uint64_t runtime_ticks; /**< The total runtime of this thread in ticks */

View File

@ -101,7 +101,7 @@ int __attribute__((used)) sched_run(void)
} }
#ifdef MODULE_SCHEDSTATISTICS #ifdef MODULE_SCHEDSTATISTICS
uint64_t now = _xtimer_now64(); uint32_t now = xtimer_now().ticks32;
#endif #endif
if (active_thread) { if (active_thread) {