Manak
2.0.0
|
This module is useful when the library name is constant for all the cases registered in the scope. This module can be set by defining 'MANAK_SIMPLE_MODULE' to appropriate module name. After this definition the default library or constant library name is taken as the module name. To change the name define 'MANAK_BASE_LIBRARY_NAME' to desired value.
For detalied information on auto registration of benchmark cases and benchmark suites in simple module see Auto Registration With Simple Module.
The macros provided for auto registartion of benchmark case:
Macro to register manually generated functions as cases:
The macros provided for auto registration of benchmark suite:
The macros provided for auto registration of parametrized benchmark:
The macros provided for auto registration of groups:
The macros provided for auto registration of group benchmark cases:
The macros provided for auto registation of group parametrized benchmark case:
Note: To register the function inside the group as parametrized benchmark use 'MANAK_CREATE_GROUP_BENCHMARK_WITH_TEMPLATE'. To register the function outside the group as parametrized benchmark use 'MANAK_CREATE_BENCHMARK_WITH_TEMPLATE'. See registration of cases 'InGroup2' and 'InGroup3' for examples.
Output -
HTML output can be seen HERE
The equivalent manual registration code can be found at Example.
For detailed information on manual registration of benchmark cases and benchmark suites in simple benchmark module see Manual Registartion with Simple Module.
The macros provided for manual registartion of benchmark case:
The macros provided for manual registration of benchmark suite:
The macros provided for manual regstration of parametrized benchmark cases:
The macros provided for manual registration of groups:
The macros provided for manual registration of group benchmark cases:
The macros provided for manual registration of group parametrized benchmark cases:
Ouput -
HTML output can be seen HERE
The equivalent auto registration code can be found at Example.
Check out Comparison Framework for Simple Module for information on comparion framework of simple module.