| 913 | } |
| 914 | |
| 915 | void program::mark(const parameter_map& params, marker m) |
| 916 | { |
| 917 | auto& ctx = this->impl->contexts; |
| 918 | // Run once by itself |
| 919 | eval(params); |
| 920 | this->finish(); |
| 921 | m.mark_start(*this); |
| 922 | generic_eval(*this, ctx, params, [&](auto ins, auto f) { |
| 923 | argument result; |
| 924 | m.mark_start(ins); |
| 925 | result = f(); |
| 926 | m.mark_stop(ins); |
| 927 | return result; |
| 928 | }); |
| 929 | m.mark_stop(*this); |
| 930 | } |
| 931 | |
| 932 | void program::perf_report( |
| 933 | std::ostream& os, std::size_t n, parameter_map params, std::size_t batch, bool detailed) const |
no test coverage detected