added micro-benchmark

This commit is contained in:
Matej Sekoranja
2013-02-13 14:18:42 +01:00
parent 97b1848ba3
commit aa1a67d6c1
8 changed files with 569 additions and 1 deletions

17
testApp/mb/mb_test.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <iostream>
#include <pv/mb.h>
MB_DECLARE_EXTERN(test);
MB_DECLARE(test, 1000);
int main()
{
MB_INIT;
for (int i = 0; i < 10; i++)
for (int j = 0; j < 100; j++)
MB_POINT_ID(test, i, j);
return 0;
}