Home
last modified time | relevance | path

Searched refs:res64 (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw_metric.c503 sm20_hw_metric_calc_result(struct nvc0_hw_query *hq, uint64_t res64[8]) in sm20_hw_metric_calc_result()
508 if (res64[1]) in sm20_hw_metric_calc_result()
509 return ((res64[0] / (double)res64[1]) / 48) * 100; in sm20_hw_metric_calc_result()
513 if (res64[0] + res64[1]) in sm20_hw_metric_calc_result()
514 return (res64[0] / (double)(res64[0] + res64[1])) * 100; in sm20_hw_metric_calc_result()
518 if (res64[1]) in sm20_hw_metric_calc_result()
519 return res64[0] / (double)res64[1]; in sm20_hw_metric_calc_result()
523 if (res64[1]) in sm20_hw_metric_calc_result()
524 return (res64[0] - res64[1]) / (double)res64[1]; in sm20_hw_metric_calc_result()
528 if (res64[1]) in sm20_hw_metric_calc_result()
[all …]
Dnvc0_query_hw.c312 uint64_t *res64 = (uint64_t*)result; in nvc0_hw_get_query_result() local
344 res64[0] = hq->data[1] - hq->data[5]; in nvc0_hw_get_query_result()
352 res64[0] = data64[0] - data64[2]; in nvc0_hw_get_query_result()
355 res64[0] = data64[0] - data64[4]; in nvc0_hw_get_query_result()
356 res64[1] = data64[2] - data64[6]; in nvc0_hw_get_query_result()
363 res64[0] = data64[1]; in nvc0_hw_get_query_result()
366 res64[0] = 1000000000; in nvc0_hw_get_query_result()
370 res64[0] = data64[1] - data64[3]; in nvc0_hw_get_query_result()
374 res64[i] = data64[i * 2] - data64[24 + i * 2]; in nvc0_hw_get_query_result()
Dnvc0_query_sw.c104 uint64_t *res64 = (uint64_t *)result; in nvc0_sw_get_query_result() local
106 res64[0] = sq->value; in nvc0_sw_get_query_result()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query_hw_metric.c105 sm11_hw_metric_calc_result(struct nv50_hw_query *hq, uint64_t res64[4]) in sm11_hw_metric_calc_result()
110 if (res64[0] + res64[1]) in sm11_hw_metric_calc_result()
111 return (res64[0] / (double)(res64[0] + res64[1])) * 100; in sm11_hw_metric_calc_result()
128 uint64_t res64[4] = {}; in nv50_hw_metric_get_query_result() local
137 res64[i] = *(uint64_t *)&results[i]; in nv50_hw_metric_get_query_result()
140 *(uint64_t *)result = sm11_hw_metric_calc_result(hq, res64); in nv50_hw_metric_get_query_result()
Dnv50_query_hw.c276 uint64_t *res64 = (uint64_t *)result; in nv50_hw_get_query_result() local
307 res64[0] = hq->data[1] - hq->data[5]; in nv50_hw_get_query_result()
315 res64[0] = data64[2] - data64[4]; in nv50_hw_get_query_result()
318 res64[0] = data64[2] - data64[6]; in nv50_hw_get_query_result()
319 res64[1] = data64[4] - data64[8]; in nv50_hw_get_query_result()
323 res64[i] = data64[i * 2] - data64[18 + i * 2]; in nv50_hw_get_query_result()
327 res64[0] = data64[1]; in nv50_hw_get_query_result()
330 res64[0] = 1000000000; in nv50_hw_get_query_result()
334 res64[0] = data64[1] - data64[3]; in nv50_hw_get_query_result()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dputil.cpp541 int64_t res64 = a64 + b64; in uprv_add32_overflow() local
542 *res = static_cast<int32_t>(res64); in uprv_add32_overflow()
543 return res64 != *res; in uprv_add32_overflow()
552 int64_t res64 = a64 * b64; in uprv_mul32_overflow() local
553 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()
554 return res64 != *res; in uprv_mul32_overflow()
/third_party/skia/third_party/externals/icu/source/common/
Dputil.cpp534 int64_t res64 = a64 + b64; in uprv_add32_overflow() local
535 *res = static_cast<int32_t>(res64); in uprv_add32_overflow()
536 return res64 != *res; in uprv_add32_overflow()
545 int64_t res64 = a64 * b64; in uprv_mul32_overflow() local
546 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()
547 return res64 != *res; in uprv_mul32_overflow()
/third_party/node/deps/icu-small/source/common/
Dputil.cpp534 int64_t res64 = a64 + b64; in uprv_add32_overflow() local
535 *res = static_cast<int32_t>(res64); in uprv_add32_overflow()
536 return res64 != *res; in uprv_add32_overflow()
545 int64_t res64 = a64 * b64; in uprv_mul32_overflow() local
546 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()
547 return res64 != *res; in uprv_mul32_overflow()
/third_party/icu/icu4c/source/common/
Dputil.cpp534 int64_t res64 = a64 + b64; in uprv_add32_overflow() local
535 *res = static_cast<int32_t>(res64); in uprv_add32_overflow()
536 return res64 != *res; in uprv_add32_overflow()
545 int64_t res64 = a64 * b64; in uprv_mul32_overflow() local
546 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()
547 return res64 != *res; in uprv_mul32_overflow()
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c243 uint64_t *res64 = (uint64_t *)&result; in query_new_value_normal() local
251 info->results_cumulative += res64[info->result_index]; in query_new_value_normal()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp508 const deUint64* res64 = reinterpret_cast<const deUint64*>(result); in compareAndLog() local
516 if (ref64[ndx] != res64[ndx]) in compareAndLog()
522 …lt value: 0x" << std::hex << std::setw(2ull * sizeof(deUint64)) << std::setfill('0') << res64[ndx]; in compareAndLog()