(name)
| 237 | } |
| 238 | |
| 239 | function clearMarkTimings(name) { |
| 240 | if (name !== undefined) { |
| 241 | name = `${name}`; |
| 242 | if (nodeTimingReadOnlyAttributes.has(name)) |
| 243 | throw new ERR_INVALID_ARG_VALUE('name', name); |
| 244 | markTimings.delete(name); |
| 245 | return; |
| 246 | } |
| 247 | markTimings.clear(); |
| 248 | } |
| 249 | |
| 250 | module.exports = { |
| 251 | PerformanceMark, |
no test coverage detected