Data Structures | Macros | Enumerations | Functions
ai_stats.h File Reference

API for render statistics output. More...

#include "ai_api.h"
#include "ai_string.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define AiProfileBlock(...)   AiProfileBlockRAII Ai_profile_block(__VA_ARGS__)
 Macro to measure total time spent in a code block. More...
 

Enumerations

enum  AtStatsMode { AI_STATS_MODE_OVERWRITE, AI_STATS_MODE_APPEND }
 Output mode for structured statistics. More...
 

Functions

AI_API AtStatsMode AiStatsGetMode ()
 Get the mode for outputting structured statistics. More...
 
AI_API const char * AiStatsGetFileName ()
 Get the filename of the structured stats output. More...
 
AI_API void AiStatsSetMode (AtStatsMode mode)
 Set the file mode for outputting structured statistics. More...
 
AI_API void AiStatsSetFileName (const char *filename)
 Set the output file that will contain structured stats from this session's renders. More...
 
AI_API void AiProfileSetFileName (const char *filename)
 JSON file to which profiling traces should be written to. More...
 
AI_API AtString AiProfileGetFileName ()
 Get the JSON filename to which profiling traces will be written to. More...
 

Detailed Description

API for render statistics output.


© 2020 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com