MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / Benchmark

Function Benchmark

test/matrix_multiply.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46float sums = 0.0f;
47
48void Benchmark(int Num, float *mDst, float *mA, float *mB, int A, int B, int C)
49{
50 for(int i = 0; i < Num; ++i)
51 {
52 mul(mDst, mA, mB, A, B, C);
53 sums += Sum(mDst, A, C);
54 }
55}
56
57int ENVIRONMENT_IS_WEB;
58int A;

Callers 1

TickFunction · 0.85

Calls 2

SumFunction · 0.85
mulFunction · 0.70

Tested by

no test coverage detected