mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 14:30:39 +02:00
intel/ds: reduce min sampling period of pps-producer to 5us
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37991>
This commit is contained in:
parent
69dc01405d
commit
cbcfaca647
2 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ void IntelDriver::disable_perfcnt()
|
|||
/// @return True if the duration is at least close to the sampling period
|
||||
static bool close_enough(uint64_t duration, uint64_t sampling_period)
|
||||
{
|
||||
return duration > sampling_period - 100000;
|
||||
return duration > sampling_period - 1000;
|
||||
}
|
||||
|
||||
/// @brief Transforms the raw data received in from the driver into records
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#include <inttypes.h>
|
||||
|
||||
// Minimum supported sampling period in nanoseconds
|
||||
#define MIN_SAMPLING_PERIOD_NS 50000
|
||||
#define MIN_SAMPLING_PERIOD_NS 5000
|
||||
|
||||
#define CORRELATION_TIMESTAMP_PERIOD (1000000000ull)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue