Searched refs:res64 (Results 1 – 11 of 11) sorted by relevance
503 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 …]
312 uint64_t *res64 = (uint64_t*)result; in nvc0_hw_get_query_result() local344 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()
104 uint64_t *res64 = (uint64_t *)result; in nvc0_sw_get_query_result() local106 res64[0] = sq->value; in nvc0_sw_get_query_result()
105 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() local137 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()
276 uint64_t *res64 = (uint64_t *)result; in nv50_hw_get_query_result() local307 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()
541 int64_t res64 = a64 + b64; in uprv_add32_overflow() local542 *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() local553 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()554 return res64 != *res; in uprv_mul32_overflow()
534 int64_t res64 = a64 + b64; in uprv_add32_overflow() local535 *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() local546 *res = static_cast<int32_t>(res64); in uprv_mul32_overflow()547 return res64 != *res; in uprv_mul32_overflow()
243 uint64_t *res64 = (uint64_t *)&result; in query_new_value_normal() local251 info->results_cumulative += res64[info->result_index]; in query_new_value_normal()
508 const deUint64* res64 = reinterpret_cast<const deUint64*>(result); in compareAndLog() local516 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()