cpu.hh (9384:877293183bdf) | cpu.hh (9427:ddf45c1d54d4) |
---|---|
1/* 2 * Copyright (c) 2011 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 --- 355 unchanged lines hidden (view full) --- 364 /** Ticks CPU, calling tick() on each stage, and checking the overall 365 * activity to see if the CPU should deschedule itself. 366 */ 367 void tick(); 368 369 /** Initialize the CPU */ 370 void init(); 371 | 1/* 2 * Copyright (c) 2011 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 --- 355 unchanged lines hidden (view full) --- 364 /** Ticks CPU, calling tick() on each stage, and checking the overall 365 * activity to see if the CPU should deschedule itself. 366 */ 367 void tick(); 368 369 /** Initialize the CPU */ 370 void init(); 371 |
372 void startup(); 373 |
|
372 /** Returns the Number of Active Threads in the CPU */ 373 int numActiveThreads() 374 { return activeThreads.size(); } 375 376 /** Add Thread to Active Threads List */ 377 void activateThread(ThreadID tid); 378 379 /** Remove Thread from Active Threads List */ --- 444 unchanged lines hidden --- | 374 /** Returns the Number of Active Threads in the CPU */ 375 int numActiveThreads() 376 { return activeThreads.size(); } 377 378 /** Add Thread to Active Threads List */ 379 void activateThread(ThreadID tid); 380 381 /** Remove Thread from Active Threads List */ --- 444 unchanged lines hidden --- |