pb_cache: call os_time_get outside of the loop
authorMarek Olšák <marek.olsak@amd.com>
Mon, 1 Jan 2018 21:38:14 +0000 (22:38 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 27 Jan 2018 01:09:09 +0000 (02:09 +0100)
commitecfd5215024b0db95379cf29b2236294720184cb
treeca9a3952f8a8900d234dc5b85f5563d5c2f3be84
parente553cb5a68c812e33c61fdc4c6837b31089f89c2
pb_cache: call os_time_get outside of the loop

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/auxiliary/pipebuffer/pb_cache.c