| 14 | |
| 15 | namespace { |
| 16 | double lastProfileSampleMs(const Profiler& profiler, std::initializer_list<const char*> names) { |
| 17 | for (const char* name : names) { |
| 18 | const double ms = profiler.lastActiveMs(name); |
| 19 | if (ms > 0.0) { |
| 20 | return ms; |
| 21 | } |
| 22 | } |
| 23 | return 0.0; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | void updateAtomSelectionDebug(const DebugViews& debugViews, const Lattice::Simulation& simulation) { |
no test coverage detected