mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
schedstats: revert #6975, use 32Bit again
This commit is contained in:
parent
bc18105e2f
commit
e7136e2dde
@ -179,7 +179,7 @@ NORETURN void sched_task_exit(void);
|
||||
* Scheduler statistics
|
||||
*/
|
||||
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 */
|
||||
unsigned int schedules; /**< How often the thread was scheduled to run */
|
||||
uint64_t runtime_ticks; /**< The total runtime of this thread in ticks */
|
||||
|
@ -101,7 +101,7 @@ int __attribute__((used)) sched_run(void)
|
||||
}
|
||||
|
||||
#ifdef MODULE_SCHEDSTATISTICS
|
||||
uint64_t now = _xtimer_now64();
|
||||
uint32_t now = xtimer_now().ticks32;
|
||||
#endif
|
||||
|
||||
if (active_thread) {
|
||||
|
Loading…
Reference in New Issue
Block a user