clf 0.2.0

flush the cpu cache line by __builtin_clear_cache()
Documentation
1
2
3
4
5
6
7
8
9
10

// for gcc
// extern void __builtin___clear_cache (void *begin, void *end);
// for clang
// extern void __builtin___clear_cache (char *begin, char *end);

void clf_fallback_clear_cache(unsigned char *begin, unsigned char *end)
{
    // NOTHING TODO
}