HomeSort by: relevance | last modified time | path
    Searched defs:benchFn (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/zstd/dist/programs/
benchfn.h 12 /* benchfn :
63 BMK_benchFn_t benchFn; /* the function to benchmark, over the set of blocks */
64 void* benchPayload; /* pass custom parameters to benchFn :
65 * (*benchFn)(srcBuffers[i], srcSizes[i], dstBuffers[i], dstCapacities[i], benchPayload) */
68 BMK_errorFn_t errorFn; /* errorFn will check each return value of benchFn over each block, to determine if it failed or not.
70 * errorFn must return 0 when benchFn was successful, and >= 1 if it detects an error.
73 size_t blockCount; /* number of blocks to operate benchFn on.
76 const void *const * srcBuffers; /* read-only array of buffers to be operated on by benchFn */
78 void *const * dstBuffers; /* array of buffers to be written into by benchFn. This array is not optional, it must be provided even if unused by benchfn. *
    [all...]
benchfn.h 12 /* benchfn :
63 BMK_benchFn_t benchFn; /* the function to benchmark, over the set of blocks */
64 void* benchPayload; /* pass custom parameters to benchFn :
65 * (*benchFn)(srcBuffers[i], srcSizes[i], dstBuffers[i], dstCapacities[i], benchPayload) */
68 BMK_errorFn_t errorFn; /* errorFn will check each return value of benchFn over each block, to determine if it failed or not.
70 * errorFn must return 0 when benchFn was successful, and >= 1 if it detects an error.
73 size_t blockCount; /* number of blocks to operate benchFn on.
76 const void *const * srcBuffers; /* read-only array of buffers to be operated on by benchFn */
78 void *const * dstBuffers; /* array of buffers to be written into by benchFn. This array is not optional, it must be provided even if unused by benchfn. *
    [all...]

Completed in 118 milliseconds