Revision 659beafaae31d26326b734e4f054a9d8d3b716e0 authored by 王涛 on 09 June 2015, 03:01:32 UTC, committed by 王涛 on 09 June 2015, 03:01:32 UTC
1 parent f1b6a41
test-read-cache.c
#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;
}
Computing file changes ...