This is a dashing widget intended to show metrics from a sonar repository.
This widget currently uses the list widget as a view. You just have to add this snippet to your dashboard:
#include <vector> | |
#include <random> | |
#include <iostream> | |
#include <chrono> | |
#include <map> | |
#include <utility> | |
#include <algorithm> | |
//Proxy for the update as we are interesting in the time to go through the probability list, not the update itself. | |
void update(std::vector<unsigned int> &v) { |