MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / va_argSum

Function va_argSum

runtime/PerfHelper.cc:51–61  ·  view source on GitHub ↗

See documentation in PerfHelper.h

Source from the content-addressed store, hash-verified

49
50// See documentation in PerfHelper.h
51int va_argSum(int count, ...)
52{
53 int result = 0;
54 va_list args;
55 va_start(args, count);
56 for (int i = 0; i < count; ++i) {
57 result += va_arg(args, int);
58 }
59 va_end(args);
60 return result;
61}
62
63} // PerfHelper namespace

Callers 1

aggregate_va_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected