| 166 | } |
| 167 | |
| 168 | unsigned long long get_long_long(const char *ptr, const char *what) |
| 169 | { |
| 170 | char *endptr; |
| 171 | unsigned long long ret; |
| 172 | |
| 173 | ret = strtoull(ptr, &endptr, 0); |
| 174 | if (*endptr) { |
| 175 | ERROR("%s, \"%s\" is not a valid integer!", what, ptr); |
| 176 | } |
| 177 | return ret; |
| 178 | } |
| 179 | |
| 180 | /* This function returns a time in milliseconds from a string. |
| 181 | * The multiplier is used to convert from the default input type into |