| 65 | } |
| 66 | |
| 67 | auto PrefCodeToStr(const int &preference_code) { |
| 68 | if (preference_code == ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER) { |
| 69 | return "fast single"; |
| 70 | } |
| 71 | if (preference_code == ANEURALNETWORKS_PREFER_SUSTAINED_SPEED) { |
| 72 | return "sustained speed"; |
| 73 | } |
| 74 | if (preference_code == ANEURALNETWORKS_PREFER_LOW_POWER) { |
| 75 | return "low power"; |
| 76 | } |
| 77 | return "Unknown preference code"; |
| 78 | } |
| 79 | |
| 80 | // ./dnn_benchmark daq_name |
| 81 | int main(int argc, char **argv) { |
nothing calls this directly
no outgoing calls
no test coverage detected