~andreas-pokorny/mir/configure-clear-color

« back to all changes in this revision

Viewing changes to include/server/mir/logging/message_processor_report.h

Rename TimeSource to Clock.

Approved by Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define MIR_LOGGING_MESSAGE_PROCESSOR_REPORT_H_
21
21
 
22
22
#include "mir/frontend/message_processor_report.h"
23
 
#include "mir/time/time_source.h"
 
23
#include "mir/time/clock.h"
24
24
 
25
25
#include <memory>
26
26
#include <mutex>
56
56
public:
57
57
    MessageProcessorReport(
58
58
        std::shared_ptr<Logger> const& log,
59
 
        std::shared_ptr<time::TimeSource> const& time_source);
 
59
        std::shared_ptr<time::Clock> const& clock);
60
60
 
61
61
    void received_invocation(void const* mediator, int id, std::string const& method);
62
62
 
74
74
 
75
75
private:
76
76
    std::shared_ptr<Logger> const log;
77
 
    std::shared_ptr<time::TimeSource> const time_source;
 
77
    std::shared_ptr<time::Clock> const clock;
78
78
    std::mutex mutex;
79
79
    detail::Mediators mediators;
80
80
};