Skip to content

Commit

Permalink
QATAPP-20668: Improve decompress performance test
Browse files Browse the repository at this point in the history
Signed-off-by: David Qian <[email protected]>
  • Loading branch information
Fei Xue authored and daweiq committed Mar 12, 2021
1 parent c473318 commit 60e55e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/qatzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,11 @@ static void *doDecompressIn(void *in)
/* The internal function to g_process the decomrpession response
* from the QAT hardware
*/
static void *doDecompressOut(void *in)
/* A fix for the chunksize test performance. Without the attribute
* cold it will lead to a performance drop in the chunksize test.
* Will root cause it and fix it in the future version
*/
static void *__attribute__((cold)) doDecompressOut(void *in)
{
int i = 0, j = 0, si = 0, good;
CpaDcRqResults *resl;
Expand Down

0 comments on commit 60e55e7

Please sign in to comment.