timing_expr.hh (10259:ebb376f73dd2) | timing_expr.hh (10417:710ee116eb68) |
---|---|
1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 59 unchanged lines hidden (view full) --- 68 69class TimingExprLet; 70 71/** Object to gather the visible context for evaluation */ 72class TimingExprEvalContext 73{ 74 public: 75 /** Special visible context */ | 1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 59 unchanged lines hidden (view full) --- 68 69class TimingExprLet; 70 71/** Object to gather the visible context for evaluation */ 72class TimingExprEvalContext 73{ 74 public: 75 /** Special visible context */ |
76 StaticInstPtr inst; | 76 const StaticInstPtr &inst; |
77 ThreadContext *thread; 78 79 /** Context visible as sub expressions. results will hold the results 80 * of (lazily) evaluating let's expressions. resultAvailable elements 81 * are true when a result has actually been evaluated */ 82 TimingExprLet *let; 83 std::vector<uint64_t> results; 84 std::vector<bool > resultAvailable; 85 | 77 ThreadContext *thread; 78 79 /** Context visible as sub expressions. results will hold the results 80 * of (lazily) evaluating let's expressions. resultAvailable elements 81 * are true when a result has actually been evaluated */ 82 TimingExprLet *let; 83 std::vector<uint64_t> results; 84 std::vector<bool > resultAvailable; 85 |
86 TimingExprEvalContext(StaticInstPtr inst_, | 86 TimingExprEvalContext(const StaticInstPtr &inst_, |
87 ThreadContext *thread_, TimingExprLet *let_); 88}; 89 90class TimingExpr : public SimObject 91{ 92 public: 93 TimingExpr(const TimingExprParams *params) : 94 SimObject(params) --- 122 unchanged lines hidden --- | 87 ThreadContext *thread_, TimingExprLet *let_); 88}; 89 90class TimingExpr : public SimObject 91{ 92 public: 93 TimingExpr(const TimingExprParams *params) : 94 SimObject(params) --- 122 unchanged lines hidden --- |