Searched refs:fn_ctx (Results 1 – 2 of 2) sorted by relevance
468 ValueAtMaxTsContext* fn_ctx = reinterpret_cast<ValueAtMaxTsContext*>( in ValueAtMaxTsStep() local473 if (PERFETTO_UNLIKELY(!fn_ctx->initialized)) { in ValueAtMaxTsStep()480 fn_ctx->value_type = sqlite3_value_type(value); in ValueAtMaxTsStep()481 if (fn_ctx->value_type != SQLITE_INTEGER && in ValueAtMaxTsStep()482 fn_ctx->value_type != SQLITE_FLOAT) { in ValueAtMaxTsStep()488 fn_ctx->initialized = true; in ValueAtMaxTsStep()498 if (sqlite3_value_type(value) != fn_ctx->value_type) { in ValueAtMaxTsStep()506 if (PERFETTO_LIKELY(fn_ctx->max_ts < ts_int)) { in ValueAtMaxTsStep()507 fn_ctx->max_ts = ts_int; in ValueAtMaxTsStep()509 if (fn_ctx->value_type == SQLITE_INTEGER) { in ValueAtMaxTsStep()[all …]
517 const auto* fn_ctx = in BuildProto() local522 fn_ctx->desc->full_name().c_str(), argc); in BuildProto()527 ProtoBuilder builder(fn_ctx->desc); in BuildProto()560 auto* fn_ctx = static_cast<RunMetricContext*>(sqlite3_user_data(ctx)); in RunMetric() local568 fn_ctx->metrics->begin(), fn_ctx->metrics->end(), in RunMetric()570 if (metric_it == fn_ctx->metrics->end()) { in RunMetric()599 auto it = fn_ctx->tp->ExecuteQuery(buffer); in RunMetric()