18 : fN(bytes / sizeof(
T))
34 for (
int i = 0;
i < 1000*loops;
i++) {
40 for (
int i = 0;
i < 1000*loops;
i++) {
46 for (
int i = 0;
i < 1000*loops;
i++) {
DEF_BENCH(return(new MemsetBench< uint64_t >(16)))
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
bool isSuitableFor(Backend backend) override
void onDraw(int loops, SkCanvas *) override
const char * onGetName() override
MemsetBench(size_t bytes)
const char * c_str() const
void(* memset64)(uint64_t[], uint64_t, int)
void(* memset16)(uint16_t[], uint16_t, int)
void(* memset32)(uint32_t[], uint32_t, int)