MPPrintTaskQStats

Syntax

#include <cafe/MPTasks.h>

BOOL  MPPrintTaskQStats(MPTaskQ *taskq, int size);

Parameters

taskq MPTaskQ to print statistics about.
size Total number of tasks for an average time calculation.

Return Values

Returns TRUE when the function is successful.

Description

This function should be called on an already executed taskq. The function prints per-core number of tasks and runtime in milliseconds (msec) and also prints shortest, average, and longest running task in msec.

Do Not Call From

Production code Do not call this function in production code. It is available only for debugging purposes.

See Also

MPDequeTask
MPDequeTasks
MPEnqueTask
MPGetTaskQInfo
MPInitTaskQ
MPResetTaskQ
MPRunTasksFromTaskQ
MPStopTaskQ
MPTermTaskQ
MPWaitTaskQ
MPWaitTaskQWithTimeout

Revision History

2014/06/24 Initial version.


CONFIDENTIAL