ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
provsql::ProbCacheStats Struct Reference

Counters of the cache since it was last emptied. More...

#include "ProbCache.h"

Public Attributes

uint64_t hits = 0
 Lookups served from an entry.
uint64_t misses = 0
 Lookups that found no usable entry.
uint64_t inserts = 0
 Entries stored.
uint64_t evictions = 0
 Entries dropped to stay under the size limit.
uint64_t rejections = 0
 d-DNNFs too large to be stored
size_t entries = 0
 Entries held now.
size_t bytes = 0
 Estimated size of the entries held now.
size_t budget = 0
 Size the entries may reach before some are dropped.

Detailed Description

Counters of the cache since it was last emptied.

Definition at line 38 of file ProbCache.h.

Member Data Documentation

◆ budget

size_t provsql::ProbCacheStats::budget = 0

Size the entries may reach before some are dropped.

Definition at line 46 of file ProbCache.h.

◆ bytes

size_t provsql::ProbCacheStats::bytes = 0

Estimated size of the entries held now.

Definition at line 45 of file ProbCache.h.

◆ entries

size_t provsql::ProbCacheStats::entries = 0

Entries held now.

Definition at line 44 of file ProbCache.h.

◆ evictions

uint64_t provsql::ProbCacheStats::evictions = 0

Entries dropped to stay under the size limit.

Definition at line 42 of file ProbCache.h.

◆ hits

uint64_t provsql::ProbCacheStats::hits = 0

Lookups served from an entry.

Definition at line 39 of file ProbCache.h.

◆ inserts

uint64_t provsql::ProbCacheStats::inserts = 0

Entries stored.

Definition at line 41 of file ProbCache.h.

◆ misses

uint64_t provsql::ProbCacheStats::misses = 0

Lookups that found no usable entry.

Definition at line 40 of file ProbCache.h.

◆ rejections

uint64_t provsql::ProbCacheStats::rejections = 0

d-DNNFs too large to be stored

Definition at line 43 of file ProbCache.h.


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