Lines Matching defs:timestamp
263 timestamp_to_nanoseconds(struct zink_screen *screen, uint64_t *timestamp)
265 /* The number of valid bits in a timestamp value is determined by
266 * the VkQueueFamilyProperties::timestampValidBits property of the queue on which the timestamp is written.
270 *timestamp &= (1ull << screen->timestamp_valid_bits) - 1;
272 /* The number of nanoseconds it takes for a timestamp value to be incremented by 1
276 *timestamp *= (double)screen->info.props.limits.timestampPeriod;
766 /* create new qbo for non-timestamp queries:
767 * timestamp queries should never need more than 2 entries in the qbo
789 /* timestamp queries just write to offset 0 always */
1313 uint64_t timestamp, deviation;
1318 VkResult result = VKSCR(GetCalibratedTimestampsEXT)(screen->dev, 1, &cti, ×tamp, &deviation);
1332 timestamp = result.u64;
1334 timestamp_to_nanoseconds(screen, ×tamp);
1335 return timestamp;