MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / do_fill

Function do_fill

examples/sync-primitive/sync-primitive.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static std::atomic<uint64_t> qps{0}, latency{0};
49
50__attribute__ ((noinline))
51static void do_fill(char* buf, size_t size) {
52 memset(buf, 0, size);
53}
54
55// A function that costs approximately 1 us
56static void func_1us() {

Callers 1

func_1usFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected