# git pull origin main cc -g -O2 -Wall -o kmeans-pthread.out -lpthread kmeans-pthread.c # sudo 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 ./kmeans-pthread.out