| 94 | } |
| 95 | |
| 96 | struct Libraries |
| 97 | { |
| 98 | enum ELibs |
| 99 | { |
| 100 | IPP, |
| 101 | CL, |
| 102 | NPP, |
| 103 | CV, |
| 104 | NbLibs, |
| 105 | }; |
| 106 | |
| 107 | ELibs ID; |
| 108 | double Time; |
| 109 | bool Available; |
| 110 | bool Success; |
| 111 | |
| 112 | const char * Name() |
| 113 | { |
| 114 | switch (ID) |
| 115 | { |
| 116 | case CL: |
| 117 | return "CL"; |
| 118 | case IPP: |
| 119 | return "IPP"; |
| 120 | case NPP: |
| 121 | return "NPP"; |
| 122 | case CV: |
| 123 | return "CV"; |
| 124 | default: |
| 125 | return ""; |
| 126 | } |
| 127 | |
| 128 | } |
| 129 | |
| 130 | }; |
| 131 | //------------------------------------------------------------------------------------------------- |
| 132 | template<class BenchableType> |
| 133 | void runbench(const char* szBenchname, BenchableType& cBenchable) |
nothing calls this directly
no outgoing calls
no test coverage detected