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
|
* 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 */
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user