/external/autotest/scheduler/ |
H A D | query_managers.py | 24 from chromite.lib import metrics namespace 26 metrics = utils.metrics_mock variable 37 @metrics.SecondsTimerDecorator( 118 @metrics.SecondsTimerDecorator( 182 @metrics.SecondsTimerDecorator( 207 @metrics.SecondsTimerDecorator( _job_timer_name % 'get_min_duts_of_suites') 270 @metrics.SecondsTimerDecorator(_host_timer_name % 'get_job_acl_groups') 292 @metrics.SecondsTimerDecorator(_host_timer_name % 'get_job_dependencies') 332 @metrics.SecondsTimerDecorator(_host_timer_name % 'set_leased') 345 @metrics [all...] |
H A D | rdb_utils.py | 17 from chromite.lib import metrics namespace 19 metrics = utils.metrics_mock variable 108 _host_ratio_metric = metrics.Float(
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
H A D | estimator.py | 35 from tensorflow.python.ops import metrics as metrics_module 136 metrics=keras_model.metrics, 174 if model.metrics: 177 if isinstance(model.metrics, dict): 178 for i, output_name in enumerate(model.metrics.keys()): 179 metric_name = model.metrics[output_name] 183 if list(model.metrics.values()).count(metric_name) > 1: 186 model.metrics_tensors[i - len(model.metrics)]) 188 for i, metric_name in enumerate(model.metrics) [all...] |
/external/autotest/client/common_lib/cros/ |
H A D | system_metrics_collector.py | 2 """Abstract base class for metrics.""" 116 Creates the default set of metrics. 118 @param system_facade the system facade to initialize the metrics with. 138 Collects system metrics. 140 def __init__(self, system_facade, metrics = None): 146 @param metrics List of metric instances. If None, the default set will 149 self.metrics = (create_default_metric_set(system_facade) 150 if metrics is None else metrics) 154 Collects one snapshot of metrics [all...] |
/external/freetype/src/autofit/ |
H A D | afloader.c | 253 size_internal->autohint_metrics = size->metrics; 260 /* set metrics to integer values and adjust scaling accordingly; */ 329 loader->metrics = style_metrics; 376 * own set of standard widths and other metrics). The darkening amount 418 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, 434 /* we now need to adjust the metrics according to the change in */ 521 vvector.x = slot->metrics.vertBearingX - slot->metrics.horiBearingX; 522 vvector.y = slot->metrics.vertBearingY - slot->metrics [all...] |
H A D | aflatin.c | 61 af_latin_metrics_init_widths( AF_LatinMetrics metrics, argument 72 af_style_names[metrics->root.style_class->style] )); 76 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 77 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 87 AF_FaceGlobals globals = metrics->root.globals; 90 AF_StyleClass style_class = metrics->root.style_class; 130 p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); 135 glyph_index = af_shaper_get_elem( &metrics->root, 158 dummy->units_per_em = metrics->units_per_em; 177 AF_LatinAxis axis = &metrics 311 af_latin_metrics_init_blues( AF_LatinMetrics metrics, FT_Face face ) argument 1033 af_latin_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument 1116 af_latin_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 1438 af_latin_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument 1454 af_latin_get_standard_widths( AF_LatinMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) argument 1481 AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; local 2683 AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; local [all...] |
H A D | afshaper.c | 447 AF_StyleMetrics metrics, 462 upem = (FT_Int)metrics->globals->face->units_per_EM; 463 style_class = metrics->style_class; 466 font = metrics->globals->hb_font; 493 hb_buffer_t* hb_buf = metrics->globals->hb_buf; 544 af_shaper_get_elem( AF_StyleMetrics metrics, argument 555 FT_UNUSED( metrics ); 618 AF_StyleMetrics metrics, 622 FT_Face face = metrics->globals->face; 653 af_shaper_get_elem( AF_StyleMetrics metrics, argument 446 af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ) argument 617 af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ) argument [all...] |
H A D | afcjk.c | 70 af_cjk_metrics_init_widths( AF_CJKMetrics metrics, argument 81 af_style_names[metrics->root.style_class->style] )); 85 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 86 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 96 AF_FaceGlobals globals = metrics->root.globals; 99 AF_StyleClass style_class = metrics->root.style_class; 134 p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); 139 glyph_index = af_shaper_get_elem( &metrics->root, 165 dummy->units_per_em = metrics->units_per_em; 184 AF_CJKAxis axis = &metrics 278 af_cjk_metrics_init_blues( AF_CJKMetrics metrics, FT_Face face ) argument 562 af_cjk_metrics_check_digits( AF_CJKMetrics metrics, FT_Face face ) argument 645 af_cjk_metrics_scale_dim( AF_CJKMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 740 af_cjk_metrics_scale( AF_CJKMetrics metrics, AF_Scaler scaler ) argument 756 af_cjk_get_standard_widths( AF_CJKMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) argument 1268 af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) argument 1491 AF_CJKMetrics metrics = (AF_CJKMetrics)hints->metrics; local [all...] |
H A D | aflatin2.c | 67 af_latin2_metrics_init_widths( AF_LatinMetrics metrics, argument 76 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 77 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 89 metrics->root.style_class->standard_char ); 99 dummy->units_per_em = metrics->units_per_em; 114 AF_LatinAxis axis = &metrics->axis[dim]; 157 AF_LatinAxis axis = &metrics->axis[dim]; 163 : AF_LATIN_CONSTANT( metrics, 50 ); 193 af_latin2_metrics_init_blues( AF_LatinMetrics metrics, argument 203 AF_LatinAxis axis = &metrics 438 af_latin2_metrics_check_digits( AF_LatinMetrics metrics, FT_Face face ) argument 524 af_latin2_metrics_scale_dim( AF_LatinMetrics metrics, AF_Scaler scaler, AF_Dimension dim ) argument 692 af_latin2_metrics_scale( AF_LatinMetrics metrics, AF_Scaler scaler ) argument 708 af_latin2_get_standard_widths( AF_LatinMetrics metrics, FT_Pos* stdHW, FT_Pos* stdVW ) argument 1655 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics; local [all...] |
/external/freetype/src/base/ |
H A D | ftobjs.c | 502 FT_ZERO( &slot->metrics ); 710 FT_Glyph_Metrics* metrics = &slot->metrics; local 716 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); 717 metrics->horiBearingY = FT_PIX_CEIL_LONG( metrics->horiBearingY ); 719 right = FT_PIX_CEIL_LONG( ADD_LONG( metrics->vertBearingX, 720 metrics->width ) ); 721 bottom = FT_PIX_CEIL_LONG( ADD_LONG( metrics 952 FT_Size_Metrics* metrics = &face->size->metrics; local 2933 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ) argument 2996 FT_Size_Metrics* metrics; local 3031 FT_Size_Metrics* metrics; local 3169 FT_Size_Metrics* metrics = &face->size->metrics; local 3244 FT_Size_Metrics* metrics = &face->size->metrics; local [all...] |
/external/autotest/site_utils/ |
H A D | check_slave_db_delay.py | 27 from chromite.lib import metrics namespace 36 # A large delay to report to metrics indicating the replica is in error. 51 metrics.SecondsDistribution(DELAY_METRICS).add( 58 metrics.SecondsDistribution(DELAY_METRICS).add(
|
H A D | cleanup_tko_db.py | 19 from chromite.lib import metrics namespace 70 with metrics.SecondsTimer(CLEANUP_METRIC,
|
H A D | label_cleaner.py | 37 from chromite.lib import metrics namespace 54 # Per-prefix metrics are generated only for the following prefixes. This 188 metrics.Gauge(_METRICS_PREFIX + '/total_labels_count').set( 200 metrics.Gauge(_METRICS_PREFIX + '/total_labels_count').set( 210 metrics.Gauge(_METRICS_PREFIX + '/used_labels_count').set( 216 metrics.Counter(_METRICS_PREFIX + '/labels_deleted').increment_by( 296 metrics.Counter(_METRICS_PREFIX + '/tick').increment( 301 metrics.Counter(_METRICS_PREFIX + '/tick').increment( 305 metrics.Flush() 307 logging.info('Dumped ts_mon metrics t [all...] |
/external/autotest/site_utils/lxc/ |
H A D | container_factory.py | 14 from chromite.lib import metrics namespace 16 metrics = utils.metrics_mock variable 84 @metrics.SecondsTimerDecorator(
|
/external/webrtc/webrtc/video/ |
H A D | overuse_frame_detector.h | 71 virtual void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) = 0; 110 bool IsOverusing(const CpuOveruseMetrics& metrics); 111 bool IsUnderusing(const CpuOveruseMetrics& metrics, int64_t time_now); 129 // Stats metrics.
|
/external/tensorflow/tensorflow/examples/tutorials/monitors/ |
H A D | iris_monitors.py | 42 metric_fn=tf.contrib.metrics.streaming_accuracy, 46 metric_fn=tf.contrib.metrics.streaming_precision, 50 metric_fn=tf.contrib.metrics.streaming_recall, 57 metrics=validation_metrics,
|
/external/skia/gm/ |
H A D | coloremoji.cpp | 85 SkPaint::FontMetrics metrics; variable 91 paint.getFontMetrics(&metrics); 92 y += -metrics.fAscent; 94 y += metrics.fDescent + metrics.fLeading; 128 shaderPaint.getFontMetrics(&metrics); 129 y += -metrics.fAscent; 131 y += metrics.fDescent + metrics.fLeading;
|
/external/skqp/gm/ |
H A D | coloremoji.cpp | 85 SkPaint::FontMetrics metrics; variable 91 paint.getFontMetrics(&metrics); 92 y += -metrics.fAscent; 94 y += metrics.fDescent + metrics.fLeading; 128 shaderPaint.getFontMetrics(&metrics); 129 y += -metrics.fAscent; 131 y += metrics.fDescent + metrics.fLeading;
|
/external/skia/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 273 // If the user requested aliased, do so with aliased compatible metrics. 291 // render high quality rotated glyphs but measure using bitmap metrics. 405 "Could not get gdi compatible glyph metrics."); 409 "Could not get design metrics."); 423 // DirectWrite produced 'compatible' metrics, but while close, 594 void SkScalerContext_DW::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument 595 if (nullptr == metrics) { 599 sk_bzero(metrics, sizeof(*metrics)); 616 metrics [all...] |
/external/skqp/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 273 // If the user requested aliased, do so with aliased compatible metrics. 291 // render high quality rotated glyphs but measure using bitmap metrics. 405 "Could not get gdi compatible glyph metrics."); 409 "Could not get design metrics."); 423 // DirectWrite produced 'compatible' metrics, but while close, 594 void SkScalerContext_DW::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument 595 if (nullptr == metrics) { 599 sk_bzero(metrics, sizeof(*metrics)); 616 metrics [all...] |
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
H A D | metric_ops_test.py | 25 from tensorflow.contrib import metrics as metrics_lib 26 from tensorflow.contrib.metrics.python.ops import metric_ops 41 metrics = metrics_lib variable 165 metrics.streaming_mean(array_ops.ones([4, 3])) 170 mean, _ = metrics.streaming_mean( 176 _, update_op = metrics.streaming_mean( 190 mean, update_op = metrics.streaming_mean(values) 207 mean, update_op = metrics.streaming_mean(values) 238 mean, update_op = metrics.streaming_mean(values, weights) 260 mean, update_op = metrics [all...] |
/external/fec/ |
H A D | mmxbfly27.s | 33 0: movl OLDMETRICS(%edx),%esi # esi -> old metrics 34 movl NEWMETRICS(%edx),%edi # edi -> new metrics 57 # Compute branch metrics 100 # interleave & store new branch metrics in mm2, mm7 105 punpcklbw %mm2,%mm7 # interleave second 8 new metrics 106 punpckhbw %mm2,%mm0 # interleave first 8 new metrics 122 # swap metrics
|
H A D | mmxbfly29.s | 35 0: movl OLDMETRICS(%edx),%esi # esi -> old metrics 36 movl NEWMETRICS(%edx),%edi # edi -> new metrics 59 # Compute branch metrics 101 # interleave & store new branch metrics in mm2, mm7 106 punpcklbw %mm2,%mm7 # interleave second 8 new metrics 107 punpckhbw %mm2,%mm0 # interleave first 8 new metrics 135 # swap metrics
|
H A D | sse2bfly27.s | 33 0: movl OLDMETRICS(%edx),%esi # esi -> old metrics 34 movl NEWMETRICS(%edx),%edi # edi -> new metrics 63 # compute branch metrics 69 # compute 5-bit branch metric in xmm4 by adding the individual symbol metrics 72 # well within the range of our unsigned 8-bit path metrics, and even within 73 # the range of signed 8-bit path metrics 86 # negate branch metrics 98 # interleave and store new branch metrics in mm0,2 100 punpckhbw %xmm2,%xmm0 # interleave second 16 new metrics 101 punpcklbw %xmm2,%xmm4 # interleave first 16 new metrics [all...] |
H A D | sse2bfly29.s | 34 0: movl OLDMETRICS(%edx),%esi # esi -> old metrics 35 movl NEWMETRICS(%edx),%edi # edi -> new metrics 65 # compute branch metrics 73 pand %xmm7,%xmm4 # xmm4 contains branch metrics 82 # invert branch metrics 95 # interleave and store new branch metrics in mm0,2 97 punpckhbw %xmm2,%xmm0 # interleave second 16 new metrics 98 punpcklbw %xmm2,%xmm4 # interleave first 16 new metrics 134 # from all metrics 222 # swap metrics [all...] |