16 OS <<
formatv(
"<Buffer: size = {0} bytes>", R.size()) << Delim;
21 OS <<
formatv(
"<Wall Time: seconds = {0}.{1,0+6}>", R.seconds(), R.nanos())
27 OS <<
formatv(
"<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim;
32 OS <<
formatv(
"<TSC Wrap: base = {0}>", R.tsc()) << Delim;
38 "<Custom Event: tsc = {0}, cpu = {1}, size = {2}, data = '{3}'>",
39 R.tsc(), R.cpu(), R.size(), R.data())
45 OS <<
formatv(
"<Custom Event: delta = +{0}, size = {1}, data = '{2}'>",
46 R.delta(), R.size(), R.data())
53 "<Typed Event: delta = +{0}, type = {1}, size = {2}, data = '{3}'",
54 R.delta(), R.eventType(), R.size(), R.data())
60 OS <<
formatv(
"<Call Argument: data = {0} (hex = {0:x})>", R.arg()) << Delim;
65 OS <<
formatv(
"<PID: {0}>", R.pid()) << Delim;
70 OS <<
formatv(
"<Thread ID: {0}>", R.tid()) << Delim;
75 OS <<
"<End of Buffer>" << Delim;
81 switch (R.recordType()) {
83 OS <<
formatv(
"<Function Enter: #{0} delta = +{1}>", R.functionId(),
87 OS <<
formatv(
"<Function Enter With Arg: #{0} delta = +{1}>",
88 R.functionId(), R.delta());
91 OS <<
formatv(
"<Function Exit: #{0} delta = +{1}>", R.functionId(),
95 OS <<
formatv(
"<Function Tail Exit: #{0} delta = +{1}>", R.functionId(),
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
Error visit(BufferExtents &) override
This is an optimization pass for GlobalISel generic memory operations.
auto formatv(const char *Fmt, Ts &&...Vals) -> formatv_object< decltype(std::make_tuple(support::detail::build_format_adapter(std::forward< Ts >(Vals))...))>