Home
last modified time | relevance | path

Searched refs:bucketId (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drdtsc_core.h101 void rdtscStart(uint32_t bucketId);
102 void rdtscStop(uint32_t bucketId, uint32_t count, uint64_t drawId);
103 void rdtscEvent(uint32_t bucketId, uint32_t count1, uint32_t count2);
151 INLINE void rdtscStart(uint32_t bucketId) in rdtscStart() argument
153 uint32_t id = gBucketMap[bucketId]; in rdtscStart()
157 INLINE void rdtscStop(uint32_t bucketId, uint32_t count, uint64_t drawId) in rdtscStop() argument
159 uint32_t id = gBucketMap[bucketId]; in rdtscStop()
163 INLINE void rdtscEvent(uint32_t bucketId, uint32_t count1, uint32_t count2) in rdtscEvent() argument
165 uint32_t id = gBucketMap[bucketId]; in rdtscEvent()
Darena.h248 uint32_t bucketId = 0; in GetBucketId() local
251 BitScanReverseSizeT((unsigned long*)&bucketId, (blockSize - 1) >> CACHE_START_BUCKET_BIT); in GetBucketId()
252 bucketId = std::min<uint32_t>(bucketId, CACHE_NUM_BUCKETS - 1); in GetBucketId()
255 return bucketId; in GetBucketId()
259 void InsertCachedBlock(uint32_t bucketId, ArenaBlock* pNewBlock) in InsertCachedBlock()
261 SWR_ASSUME_ASSERT(bucketId < CACHE_NUM_BUCKETS); in InsertCachedBlock()
263 … ArenaBlock* pPrevBlock = OldBlockT ? &m_oldCachedBlocks[bucketId] : &m_cachedBlocks[bucketId]; in InsertCachedBlock()
284 if (m_pOldLastCachedBlocks[bucketId] == pPrevBlock) in InsertCachedBlock()
286 m_pOldLastCachedBlocks[bucketId] = pNewBlock; in InsertCachedBlock()
293 if (m_pLastCachedBlocks[bucketId] == pPrevBlock) in InsertCachedBlock()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets_shared.h104 uint32_t bucketId; member