Method
metadata
(name: &'static str, tid: u32, value: String)
Source from the content-addressed store, hash-verified
| 181 | } |
| 182 | |
| 183 | fn metadata(name: &'static str, tid: u32, value: String) -> Self { |
| 184 | let args = Args { |
| 185 | name: Some(value), |
| 186 | ..Args::default() |
| 187 | }; |
| 188 | Self { |
| 189 | name: Name::Meta(name), |
| 190 | cat: None, |
| 191 | ph: "M", |
| 192 | tid, |
| 193 | ts: 0.0, |
| 194 | dur: None, |
| 195 | id: None, |
| 196 | id2: None, |
| 197 | bp: None, |
| 198 | args: Some(args), |
| 199 | } |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | fn us(ns: u64) -> f64 { |
Callers
nothing calls this directly
Tested by
no test coverage detected