diff options
| author | Timothy G Rogers <[email protected]> | 2018-10-11 08:44:33 -0400 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2018-10-11 08:44:33 -0400 |
| commit | 8193d93d0e154206c21ef9da3f2214e2f8409dce (patch) | |
| tree | cf9e0465b80b0760087067e90d494464c8aa7cd9 /src/gpgpu-sim/shader.h | |
| parent | 3d0f3691c6ccff4a912fc0fb751291a96832cd13 (diff) | |
| parent | a43799f779a2cf23728659733649506a2d5420df (diff) | |
Merge branch 'dev-purdue-integration' into dev-purdue-integration
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -rw-r--r-- | src/gpgpu-sim/shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index 92b4159..fc8fe78 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -1693,6 +1693,7 @@ public: // accessors virtual bool warp_waiting_at_barrier( unsigned warp_id ) const; void get_pdom_stack_top_info( unsigned tid, unsigned *pc, unsigned *rpc ) const; + float get_current_occupancy( unsigned long long & active, unsigned long long & total ) const; // used by pipeline timing model components: // modifiers @@ -1899,6 +1900,7 @@ public: std::vector<register_set> m_pipeline_reg; Scoreboard *m_scoreboard; opndcoll_rfu_t m_operand_collector; + int m_active_warps; //schedule std::vector<scheduler_unit*> schedulers; @@ -1988,6 +1990,7 @@ public: void get_L1T_sub_stats(struct cache_sub_stats &css) const; void get_icnt_stats(long &n_simt_to_mem, long &n_mem_to_simt) const; + float get_current_occupancy( unsigned long long& active, unsigned long long & total ) const; private: unsigned m_cluster_id; |
