oct
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
# oct/timing/__init__.py
4
5
"""
6
Purpose
7
-------
8
Provide local timing ledger and advisory report modules.
9
10
Responsibilities
11
----------------
12
- Keep local timing data bounded, private and advisory.
13
14
Diagnostics
15
-----------
16
Domain: GENERAL
17
Levels:
18
L1 -- instrumentation failures
19
L2 -- lifecycle
20
L3 -- semantic details
21
L4 -- deep tracing
22
23
Contracts
24
---------
25
- Timing instrumentation never changes the wrapped operation's outcome.
26
- Only the fixed timing schema is persisted; command arguments are never stored.
27
28
Dependencies
29
------------
30
- oc_diagnostics (structured timing diagnostics)
31
- oct.timing.tiers (re-exported: stage tiers and tier budgets)
32
- oct.core.diagnostics (_dbg structured logger; imported but never called here)
33
"""
34
from
oct.timing.tiers
import
(
35
STAGE_TIERS, TIER_BUDGETS_MS, budget_for, budgets_ms, tier_for,
36
)
37
# OCT-LINT: disable-file=dbg_usage reason="Plan 263: a re-export package root with no function or method, so any _dbg call here would run before oc_diagnostics.init() and add a RuntimeWarning to every oct invocation"
38
from
oct.core.diagnostics
import
_dbg
39
40
__all__ = [
"STAGE_TIERS"
,
"TIER_BUDGETS_MS"
,
"budget_for"
,
"budgets_ms"
,
"tier_for"
]
oct.timing.tiers
Definition
tiers.py:1
oct
timing
__init__.py
Generated by
1.15.0