diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-08-04 10:59:55 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-08-04 10:59:55 +0200 |
| commit | 576e8dc70825a04af3ac9890491d348959bf19ce (patch) | |
| tree | a87ea6a627ade4cfc883aa00ec1f22b22d71efd1 /src/asm.h | |
| parent | 8dc6462e70009c0bbcf0bbfcfd2d4494d3772580 (diff) | |
| download | cachepc-576e8dc70825a04af3ac9890491d348959bf19ce.tar.gz cachepc-576e8dc70825a04af3ac9890491d348959bf19ce.zip | |
Vincent' working single eviction test
Diffstat (limited to 'src/asm.h')
| -rwxr-xr-x | src/asm.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -36,7 +36,7 @@ cachepc_readpmc(uint64_t event) : "c"(event) ); - return ((uint64_t) hi << 32) | lo; + return ((uint64_t) hi << 32) | (uint64_t)lo; } void @@ -58,7 +58,7 @@ cachepc_lfence(void) ); } -void +inline void cachepc_sfence(void) { asm volatile( @@ -67,7 +67,7 @@ cachepc_sfence(void) ); } -void +inline void cachepc_mfence(void) { asm volatile( @@ -76,7 +76,7 @@ cachepc_mfence(void) ); } -void +inline void cachepc_readq(void *p) { asm volatile ( @@ -85,7 +85,7 @@ cachepc_readq(void *p) ); } -void +inline void cachepc_victim(void *p) { cachepc_mfence(); |
