Searched refs:smallest_timescale (Results 1 – 3 of 3) sorted by relevance
134 my($smallest_timescale) = 1;142 $smallest_timescale = $dbopts->optarg;176 my(@timescale_duration) = ($smallest_timescale);242 if ($time - $period_start[0] < $smallest_timescale) {249 while ($time - $period_start[0] >= $smallest_timescale) {
129 int ndays_to_string (double x, int smallest_timescale, char *buf) { in ndays_to_string() argument141 if (smallest_timescale==4) { in ndays_to_string()143 } else if (years > 1 && smallest_timescale < 4) { in ndays_to_string()149 if (smallest_timescale==3) { in ndays_to_string()151 } else if (days > 1 && smallest_timescale < 3) { in ndays_to_string()157 if (smallest_timescale==2) { in ndays_to_string()159 } else if (hours > 1 && smallest_timescale < 2) { in ndays_to_string()165 if (smallest_timescale==1) { in ndays_to_string()167 } else if (minutes > 1 && smallest_timescale < 1) { in ndays_to_string()173 if (smallest_timescale==0) { in ndays_to_string()[all …]
29 extern int ndays_to_string(double x, int smallest_timescale, char *buf);