1#include "benchmarks/gpu/LibcGpuBenchmark.h"
2
3#include "src/ctype/isalpha.h"
4
5uint64_t BM_IsAlpha() {
6 char x = 'c';
7 return LIBC_NAMESPACE::latency(LIBC_NAMESPACE::isalpha, x);
8}
9BENCHMARK(LlvmLibcIsAlphaGpuBenchmark, IsAlpha, BM_IsAlpha);
10

source code of libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp