test whole program

This commit is contained in:
2025-08-14 13:00:37 +01:00
parent a5f4b74d6e
commit f90158d5a5
2 changed files with 2 additions and 2 deletions

View File

@@ -316,7 +316,7 @@ printf("Elapsed build get here before ll: %f seconds\n", (double)(toc - tic) / C
tdata->root=root;
tdata->working_set_size=working_set_size;
clock_t tic2 = clock();
for (int i = 0; i < 500; i++) {
for (int i = 0; i < 1000; i++) {
walk((void*)tdata);
}
clock_t toc2 = clock();

View File

@@ -2,4 +2,4 @@
# LD_PRELOAD=./libjemalloc.so time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-cheri-8000.stat ./memaccesstest.out
# LD_PRELOAD=./regularjemalloc.so time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-regular-8000.stat ./memaccesstest.out
time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-huge-alloc-500.stat ./memaccesstest.out
time pmcstat -d -w 1 -p l1d_tlb_rd -p l2d_tlb_rd -p l1d_tlb_refill -p cpu_cycles -p dtlb_walk -p stall_backend -p ll_cache_miss_rd -o memaccesstest-huge-alloc-1000.stat ./memaccesstest.out