Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
run_context.hpp File Reference

Owned run provenance, typed documents and explicitly scoped computation timing. More...

#include "metadata.hpp"
#include "program.hpp"
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for run_context.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uni20::run_clock_sample
 One clock sample; unavailable process CPU time is distinct from zero. More...
 
class  uni20::run_context
 Parser-independent run state. More...
 
class  uni20::run_context::computation_scope
 
struct  uni20::run_context_options
 

Namespaces

namespace  uni20
 

Enumerations

enum class  uni20::run_outcome { uni20::success , uni20::partial , uni20::failed , uni20::cancelled }
 

Functions

std::string uni20::metadata_line (std::string_view text)
 Escape control bytes for a single human-readable metadata line.
 
presentation::report_builder uni20::metadata_report (metadata_document const &document, std::string title={}, bool detail=false)
 Render ordered groups without using display strings as the machine metadata source.
 
run_clock_sample uni20::system_run_clock ()
 
std::string_view uni20::to_string (run_outcome value)
 
std::string uni20::utc_now ()
 

Detailed Description

Owned run provenance, typed documents and explicitly scoped computation timing.