int tsmLog ( TsmConnection connect, const char *event_name, const char *data, ... ) Send a log event to the log file
Send a log event to the log file.Once you have started logging of data with the tsmBeginLogging call, you can use this function to send a log event to the log file. For example,
tsmLog( connect, "EVENT_NAME", "TILE=%d.%d.%d", x, y, res );
The tsmApi defines a number of standard events that it uses to instrument your session. These events are automatically logged for you once you have started logging:
- TV_TILE_REQ: an event triggered whenever a tile is requested by the application program.
- TV_TILE_READ : an event triggered whenever a tile is received by the tsmApi
- TV_TILE_WRITE : an event triggered whenever a tile is written to a storage medium.
In addition to these automatically-logged events, the tsmApi defines a number of standard events for an application to use to log the life of a tile beyond the tsmApi:
- TV_TILE_IN_CACHE : an event triggered whenever a tile is placed in some general cache by the application program
- TV_TILE_OUT_CACHE : an event triggered whenever a tile is removed from the general cache by the application program
- TV_TILE_IN_TEXCACHE : an event triggered whenever a tile is placed in the texture-map cache by the application program
- TV_TILE_OUT_TEXCACHE : an event triggered whenever a tile is removed from the texture-map cache by the application program