* Convert a numeric samplecount value to its "natural" string representation. * * E.g. a value of 16384 would be converted to "16 K" * * @param samplecount. * * @return A malloc()ed string representation of the samplecount value, * or NULL upon errors. The caller is responsible to g_free() the * memory. */
| 160 | * memory. |
| 161 | */ |
| 162 | SR_API char *sr_samplecount_string(uint64_t samplecount) |
| 163 | { |
| 164 | return sr_si_string_u64(samplecount, " Samples"); |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * Convert a numeric frequency value to the "natural" string representation |
no test coverage detected