1#include "cache.h" 2 3int main (int argc, char **argv) 4{ 5 int i, cnt = 1; 6 if (argc == 2) 7 cnt = strtol(argv[1], NULL, 0); 8 for (i = 0; i < cnt; i++) { 9 read_cache(); 10 discard_cache(); 11 } 12 return 0; 13}
#include "cache.h"
int main (int argc, char **argv)
{
int i, cnt = 1;
if (argc == 2)
cnt = strtol(argv[1], NULL, 0);
for (i = 0; i < cnt; i++) {
read_cache();
discard_cache();
}
return 0;