#include #include #include #include #include #include #include uint64_t Time_GetTSC() { return rdtsc(); } static void Debug_ReadTSC(int argc, const char *argv[]) { kprintf("RDTSC: %lld\n", Time_GetTSC()); } REGISTER_DBGCMD(readtsc, "Print current timestamp", Debug_ReadTSC);