AbstractController.cc (9598:a58b28c17d7f) | AbstractController.cc (9745:884ad4638236) |
---|---|
1/* 2 * Copyright (c) 2011 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 26 unchanged lines hidden (view full) --- 35 m_request_count(0) 36{ 37 m_version = p->version; 38 m_transitions_per_cycle = p->transitions_per_cycle; 39 m_buffer_size = p->buffer_size; 40 m_recycle_latency = p->recycle_latency; 41 m_number_of_TBEs = p->number_of_TBEs; 42 m_is_blocking = false; | 1/* 2 * Copyright (c) 2011 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 26 unchanged lines hidden (view full) --- 35 m_request_count(0) 36{ 37 m_version = p->version; 38 m_transitions_per_cycle = p->transitions_per_cycle; 39 m_buffer_size = p->buffer_size; 40 m_recycle_latency = p->recycle_latency; 41 m_number_of_TBEs = p->number_of_TBEs; 42 m_is_blocking = false; |
43 44 if (m_version == 0) { 45 // Combine the statistics from all controllers 46 // of this particular type. 47 Stats::registerDumpCallback(new StatsCallback(this)); 48 } |
|
43} 44 45void 46AbstractController::init() 47{ 48 params()->ruby_system->registerAbstractController(this); 49} 50 --- 128 unchanged lines hidden --- | 49} 50 51void 52AbstractController::init() 53{ 54 params()->ruby_system->registerAbstractController(this); 55} 56 --- 128 unchanged lines hidden --- |