 |
TEMU
4.4
The Terma Emulator
|
Go to the documentation of this file.
8 #ifndef TEMU_SCHEDULER_H
9 #define TEMU_SCHEDULER_H
11 #include "temu-c/Support/Attributes.h"
24 } temu_ExecutionState;
81 TEMU_API temu_ExecutionState temu_getExecutionState();
95 TEMU_API temu_TimeSource* temu_getScheduledProcessor(
unsigned cpu);
114 TEMU_API uint64_t temu_schedulerGetAccumulatedTime();
122 TEMU_API uint64_t temu_schedulerGetSyncTime(
unsigned threadId);
135 TEMU_API uint64_t temu_schedulerGetWaitTime(
unsigned threadId);
156 TEMU_API int64_t temu_schedulerGetAffinity(
unsigned threadId);
TEMU_API void temu_step(temu_TimeSource *cpu, int steps)
TEMU_API void temu_runForTime(double secs)
TEMU_API unsigned temu_getScheduledProcessorCount()
temu_ExecutionState
Definition: Scheduler.h:20
TEMU_API void temu_stop()
@ teES_Stopped
Definition: Scheduler.h:21
TEMU_API void temu_schedulerSetAffinity(unsigned threadId, int hostCore)
TEMU_API void temu_serializeOnNotification(temu_Object *notificationSource, const char *notificationName, double seconds)
@ teES_Running
Definition: Scheduler.h:22
@ teES_Stepping
Definition: Scheduler.h:23
struct temu_Object temu_Object
Definition: Scheduler.h:18
TEMU_API void temu_asyncStop()
struct temu_TimeSource temu_TimeSource
Definition: Scheduler.h:17
TEMU_API void temu_runForSteps(int64_t steps)