Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumsden committed Oct 21, 2024
1 parent 8177197 commit 74f7513
Show file tree
Hide file tree
Showing 7 changed files with 761 additions and 801 deletions.
400 changes: 191 additions & 209 deletions src/services/topdown/HaswellTopdown.cpp

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions src/services/topdown/HaswellTopdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,40 @@

#include "TopdownCalculator.h"

namespace cali {
namespace topdown {
namespace cali
{
namespace topdown
{

class HaswellTopdown : public TopdownCalculator {
class HaswellTopdown : public TopdownCalculator
{
public:
HaswellTopdown(IntelTopdownLevel level);

virtual ~HaswellTopdown() = default;
HaswellTopdown(IntelTopdownLevel level);

virtual bool check_for_disabled_multiplex() const override;
virtual ~HaswellTopdown() = default;

virtual std::vector<Entry>
compute_toplevel(const std::vector<Entry> &rec) override;
virtual bool check_for_disabled_multiplex() const override;

virtual std::size_t get_num_expected_toplevel() const override;
virtual std::vector<Entry> compute_toplevel(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_retiring(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_toplevel() const override;

virtual std::size_t get_num_expected_retiring() const override;
virtual std::vector<Entry> compute_retiring(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_backend_bound(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_retiring() const override;

virtual std::size_t get_num_expected_backend_bound() const override;
virtual std::vector<Entry> compute_backend_bound(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_frontend_bound(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_backend_bound() const override;

virtual std::size_t get_num_expected_frontend_bound() const override;
virtual std::vector<Entry> compute_frontend_bound(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_bad_speculation(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_frontend_bound() const override;

virtual std::size_t get_num_expected_bad_speculation() const override;
virtual std::vector<Entry> compute_bad_speculation(const std::vector<Entry>& rec) override;

virtual std::size_t get_num_expected_bad_speculation() const override;
};

} // namespace topdown
Expand Down
41 changes: 20 additions & 21 deletions src/services/topdown/SapphireRapidsTopdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,40 @@

#include "TopdownCalculator.h"

namespace cali {
namespace topdown {
namespace cali
{
namespace topdown
{

class SapphireRapidsTopdown : public TopdownCalculator {
class SapphireRapidsTopdown : public TopdownCalculator
{
public:
SapphireRapidsTopdown(IntelTopdownLevel level);

virtual ~SapphireRapidsTopdown() = default;
SapphireRapidsTopdown(IntelTopdownLevel level);

virtual bool check_for_disabled_multiplex() const override;
virtual ~SapphireRapidsTopdown() = default;

virtual std::vector<Entry>
compute_toplevel(const std::vector<Entry> &rec) override;
virtual bool check_for_disabled_multiplex() const override;

virtual std::size_t get_num_expected_toplevel() const override;
virtual std::vector<Entry> compute_toplevel(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_retiring(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_toplevel() const override;

virtual std::size_t get_num_expected_retiring() const override;
virtual std::vector<Entry> compute_retiring(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_backend_bound(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_retiring() const override;

virtual std::size_t get_num_expected_backend_bound() const override;
virtual std::vector<Entry> compute_backend_bound(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_frontend_bound(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_backend_bound() const override;

virtual std::size_t get_num_expected_frontend_bound() const override;
virtual std::vector<Entry> compute_frontend_bound(const std::vector<Entry>& rec) override;

virtual std::vector<Entry>
compute_bad_speculation(const std::vector<Entry> &rec) override;
virtual std::size_t get_num_expected_frontend_bound() const override;

virtual std::size_t get_num_expected_bad_speculation() const override;
virtual std::vector<Entry> compute_bad_speculation(const std::vector<Entry>& rec) override;

virtual std::size_t get_num_expected_bad_speculation() const override;
};

} // namespace topdown
Expand Down
Loading

0 comments on commit 74f7513

Please sign in to comment.