Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
profile_registry.h File Reference

ProfileRegistry – named GPU resource profile management. More...

#include <entropic/types/config.h>
#include <mutex>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for profile_registry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  entropic::ProfileRegistry
 Centralized registry for named GPU resource profiles. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

ProfileRegistry – named GPU resource profile management.

Responsibilities:
  • Store bundled profiles (maximum, balanced, background, minimal)
  • Register/deregister custom profiles at runtime
  • Resolve profile name to GPUResourceProfile struct
Thread safety:
  • All public methods acquire mutex_ (registry is small, contention minimal)
  • get() on unknown name logs WARNING and falls back to "balanced"
Ownership:
Owned by ModelOrchestrator. One registry per engine instance. Same single-class pattern as GrammarRegistry (design decision #31).
Version
1.9.7

Definition in file profile_registry.h.