OSCheckThreadStackUsage

Syntax

#include <cafe/os.h>

s32 OSCheckThreadStackUsage(OSThread *thread);

Parameters

thread Pointer to thread structure (NULL for current thread).

Return Values

Returns the maximum stack usage. Otherwise, on failure, -1 .

Description

Get maximum thread stack usage of the given thread.

Do Not Call From

None.

See Also

OSClearThreadStackUsage
OSSetThreadStackUsage

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup Pass
2011-05-11 Initial version.


CONFIDENTIAL