sc_report_handler.cc (13080:5b49b8664269) | sc_report_handler.cc (13182:9e030f636a8c) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 327 unchanged lines hidden (view full) --- 336 337sc_actions 338sc_report_handler::get_new_action_id() 339{ 340 maxAction = maxAction << 1; 341 return maxAction; 342} 343 | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 327 unchanged lines hidden (view full) --- 336 337sc_actions 338sc_report_handler::get_new_action_id() 339{ 340 maxAction = maxAction << 1; 341 return maxAction; 342} 343 |
344sc_report_handler_proc 345sc_report_handler::get_handler() 346{ 347 return reportHandlerProc; 348} 349 |
|
344sc_report * 345sc_report_handler::get_cached_report() 346{ 347 ::sc_gem5::Process *current = ::sc_gem5::scheduler.current(); 348 if (current) 349 return current->lastReport(); 350 return globalReportCache.get(); 351} --- 94 unchanged lines hidden --- | 350sc_report * 351sc_report_handler::get_cached_report() 352{ 353 ::sc_gem5::Process *current = ::sc_gem5::scheduler.current(); 354 if (current) 355 return current->lastReport(); 356 return globalReportCache.get(); 357} --- 94 unchanged lines hidden --- |