#include <stdbool.h>
#include <stdint.h>
#include <sys/kassert.h>
#include <sys/kdebug.h>
#include <sys/ktime.h>
#include <machine/amd64.h>
#include <machine/amd64op.h>
Go to the source code of this file.
◆ Debug_ReadTSC()
| static void Debug_ReadTSC |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
|
static |
Definition at line 19 of file time.c.
20{
22}
int kprintf(const char *fmt,...)
◆ REGISTER_DBGCMD()
| REGISTER_DBGCMD |
( |
readtsc |
, |
|
|
"Print current timestamp" |
, |
|
|
Debug_ReadTSC |
|
|
) |
| |
◆ Time_GetTSC()
Definition at line 13 of file time.c.
14{
16}
static INLINE uint64_t rdtsc()