MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_getrusuage

Function syscall_getrusuage

source/kernel/syscall.cpp:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423static U32 syscall_getrusuage(CPU* cpu, U32 eipCount) {
424 SYS_LOG1(SYSCALL_SYSTEM, cpu, "getrusage: who=%d usuage=%X", ARG1, ARG2);
425 U32 result = cpu->thread->process->getrusuage(cpu->thread, ARG1, ARG2);
426 SYS_LOG(SYSCALL_SYSTEM, cpu, " result=%d(0x%X)\n", result, result);
427 return result;
428}
429
430static U32 syscall_gettimeofday(CPU* cpu, U32 eipCount) {
431 SYS_LOG1(SYSCALL_SYSTEM, cpu, "gettimeofday: tv=%X tz=%X", ARG1, ARG2);

Callers

nothing calls this directly

Calls 1

getrusuageMethod · 0.80

Tested by

no test coverage detected