cosmopolitan/libc/nt/pdh/PdhGetFormattedCounterValue.S

15 lines
329 B
ArmAsm
Raw Normal View History

2023-05-02 02:43:59 +00:00
#include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetFormattedCounterValue,PdhGetFormattedCounterValue,0
2023-05-02 02:43:59 +00:00
#ifdef __x86_64__
.text.windows
PdhGetFormattedCounterValue:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_PdhGetFormattedCounterValue(%rip),%rax
jmp __sysv2nt
.endfn PdhGetFormattedCounterValue,globl
.previous
2023-05-02 02:43:59 +00:00
#endif