...
Code Block | ||||
---|---|---|---|---|
| ||||
* options in edmiRemoteMemoryLogging() */ #define START_OPTIONS #define CLOSE_MEMORY_LOGGING 0100000 #define START_MEMORY_LOGGING 0200000 #define STOP_MEMORY_LOGGING 0400000 #define RESTART_MEMORY_LOGGING 01000000 #define GET_CURRENT_MEMORY_LOGGING_RESULT 02000000 #define GET_CLOSED_MEMORY_LOGGING_RESULT 04000000 #define END_OPTIONS #if defined(__STDC__) || defined(__cplusplus) EdmiError _CDECL edmiRemoteMemoryLogging (SdaiServerContext serverContextId, SdaiOptions options, SdaiString password, /* optional argument */ SdaiString localFileName, SdaiSelect extensionArg1, SdaiSelect extensionArg2, SdaiSelect extensionArg3, SdaiInvocationId *edmiInvocationId); |
This function is intended for analysis of memory usage - expert usage only
Arguments
...
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiOptions | options | See description of available options below. |
SdaiString | password | /* optional argument */ |
SdaiString | localFileName | |
SdaiSelect | extensionArg1 | |
SdaiSelect | extensionArg2 | |
SdaiSelect | extensionArg3 | |
SdaiInvocationId | edmiInvocationId | Currently not used. |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
1 | Option | Comment |
2 | CLOSE_MEMORY_LOGGING | . |
3 | START_MEMORY_LOGGING | |
4 | STOP_MEMORY_LOGGING | |
5 | RESTART_MEMORY_LOGGING | |
6 | GET_CURRENT_MEMORY_LOGGING_RESULT | |
7 | GET_CLOSED_MEMORY_LOGGING_RESULT |
Example
...
Code Block | ||
---|---|---|
| ||
/* log memory*/ |
...