Searched refs:num_ticks (Results 1 – 4 of 4) sorted by relevance
/external/blktrace/iowatcher/ |
D | plot.c | 477 static double find_step(double first, double last, int num_ticks) in find_step() argument 481 double step = (last - first) / num_ticks; in find_step() 488 && (last - first) / (step * mini_step[cur_mini_step]) > num_ticks) in find_step() 501 void set_xticks(struct plot *plot, int num_ticks, int first, int last) in set_xticks() argument 515 step = find_step(first, last, num_ticks); in set_xticks() 520 num_ticks = (double)(last - first - step) / step + 1; in set_xticks() 523 for (i = 0; i < num_ticks; i++) { in set_xticks() 603 void set_yticks(struct plot *plot, int num_ticks, int first, int last, char *units) in set_yticks() argument 605 int pixels_per_tick = graph_height / num_ticks; in set_yticks() 606 int step = (last - first) / num_ticks; in set_yticks() [all …]
|
D | plot.h | 150 void set_xticks(struct plot *plot, int num_ticks, int first, int last); 151 void set_yticks(struct plot *plot, int num_ticks, int first, int last, char *units);
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli.py | 756 num_ticks = int(np.ceil(float(cost) / max_cost * length)) 757 num_ticks = num_ticks or 1 # Minimum is 1 tick. 759 output += RL("|" * num_ticks + " " * (length - num_ticks),
|
/external/tensorflow/tensorflow/python/distribute/ |
D | all_reduce.py | 326 num_ticks = num_devices - 1 335 for tick in range(0, num_ticks): 400 num_ticks = num_devices - 1 401 for tick in range(0, num_ticks):
|