#include #include #include "litmus.h" int main(void) { int i; int cluster_sizes[] = {1, 2, 6, 24}; for(i = 0; i < sizeof(cluster_sizes)/sizeof(cluster_sizes[0]); ++i) { int size = cluster_sizes[i]; int num_clusters = 24/size; int c; printf("Cluster Size: %d\n", size); for(c = 0; c < num_clusters; ++c) { printf("\tcluster %d -> 1st pcpu %d\n", c, cluster_to_first_cpu(c, size)); } } return 0; }