| 142 | std::string timestamp_to_string(double timestamp, bool local = false); |
| 143 | |
| 144 | inline std::vector<float> double_buffer_to_float(double *ptr, int size) |
| 145 | { |
| 146 | std::vector<float> ret; |
| 147 | for (int i = 0; i < size; i++) |
| 148 | ret.push_back(ptr[i]); |
| 149 | return ret; |
| 150 | } |
| 151 | |
| 152 | double get_median(std::vector<double> values); |
| 153 |