| 54 | } |
| 55 | |
| 56 | void addMetadata(CpdFilter* filter, const cpd::Result& result) |
| 57 | { |
| 58 | MetadataNode root = filter->getMetadata(); |
| 59 | root.add("sigma2", result.sigma2); |
| 60 | root.add("runtime", double(result.runtime.count()) / 1e6); |
| 61 | root.add("iterations", result.iterations); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | static PluginInfo const s_info |
no test coverage detected