vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
vgl_context_statistics Struct Reference

#include <vgl/context.h>

Public Attributes

uint32_t struct_size
 
uint32_t reserved
 
uint64_t cpu_used
 
uint64_t cpu_budget
 
uint64_t gpu_used
 
uint64_t gpu_budget
 
uint32_t packs_loading
 
uint32_t packs_failed
 
uint32_t reads_outstanding
 
uint32_t tiles_decoding
 
uint32_t tiles_decoded
 
uint32_t meshes_building
 
uint32_t meshes_waiting
 
uint32_t textures_decoding
 
uint32_t textures_waiting
 
uint32_t resources_resident
 
uint32_t tiles_selected
 
uint32_t tiles_drawn
 
uint32_t resources_created
 
uint32_t resources_destroyed
 
uint64_t bytes_created
 
uint64_t vertices_drawn
 
uint64_t triangles_drawn
 
uint64_t reads_total
 
uint64_t bytes_read_total
 
uint64_t tiles_loaded_total
 
double tile_load_time_mean
 
double update_time
 
double frame_time
 

Detailed Description

What a context holds and does (design document, section 7.4). Set struct_size; the library writes the fields that fit within it.

Member Data Documentation

◆ struct_size

uint32_t vgl_context_statistics::struct_size

◆ reserved

uint32_t vgl_context_statistics::reserved

◆ cpu_used

uint64_t vgl_context_statistics::cpu_used

Memory, in bytes.

◆ cpu_budget

uint64_t vgl_context_statistics::cpu_budget

◆ gpu_used

uint64_t vgl_context_statistics::gpu_used

Resources offered to or created by the consumer.

◆ gpu_budget

uint64_t vgl_context_statistics::gpu_budget

◆ packs_loading

uint32_t vgl_context_statistics::packs_loading

Packs.

◆ packs_failed

uint32_t vgl_context_statistics::packs_failed

◆ reads_outstanding

uint32_t vgl_context_statistics::reads_outstanding

Work under way and cached.

◆ tiles_decoding

uint32_t vgl_context_statistics::tiles_decoding

Read, and waiting for or in decoding.

◆ tiles_decoded

uint32_t vgl_context_statistics::tiles_decoded

In the CPU cache.

◆ meshes_building

uint32_t vgl_context_statistics::meshes_building

◆ meshes_waiting

uint32_t vgl_context_statistics::meshes_waiting

Built for selected tiles, and waiting to be created.

◆ textures_decoding

uint32_t vgl_context_statistics::textures_decoding

Imagery tiles being decoded into textures.

◆ textures_waiting

uint32_t vgl_context_statistics::textures_waiting

Wanted by selected tiles, and not created by the consumer.

◆ resources_resident

uint32_t vgl_context_statistics::resources_resident

◆ tiles_selected

uint32_t vgl_context_statistics::tiles_selected

The view.

◆ tiles_drawn

uint32_t vgl_context_statistics::tiles_drawn

The last frame. Vertices and triangles count the meshes drawn, skirts included.

◆ resources_created

uint32_t vgl_context_statistics::resources_created

◆ resources_destroyed

uint32_t vgl_context_statistics::resources_destroyed

◆ bytes_created

uint64_t vgl_context_statistics::bytes_created

◆ vertices_drawn

uint64_t vgl_context_statistics::vertices_drawn

◆ triangles_drawn

uint64_t vgl_context_statistics::triangles_drawn

◆ reads_total

uint64_t vgl_context_statistics::reads_total

Totals since the context was created.

◆ bytes_read_total

uint64_t vgl_context_statistics::bytes_read_total

◆ tiles_loaded_total

uint64_t vgl_context_statistics::tiles_loaded_total

◆ tile_load_time_mean

double vgl_context_statistics::tile_load_time_mean

Times, in seconds. From the start of a tile's read to its decoding.

◆ update_time

double vgl_context_statistics::update_time

Of the last vgl_context_update.

◆ frame_time

double vgl_context_statistics::frame_time

Of the last vgl_context_frame_begin.


The documentation for this struct was generated from the following file: