cp_annotate.hh (7492:acc1fbbef239) cp_annotate.hh (7823:dac01f14f20f)
1/*
2 * Copyright (c) 2006-2009 The Regents of The University of Michigan
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;

--- 394 unchanged lines hidden (view full) ---

403 {
404 if (!enabled())
405 return;
406
407 int sysi = getSys(sys);
408 int smi = getSm(sysi, sm, frame);
409 add(OP_BEGIN, FL_HW | f, 0, smi, getSt(sm, st));
410 if (f & FL_BAD)
1/*
2 * Copyright (c) 2006-2009 The Regents of The University of Michigan
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;

--- 394 unchanged lines hidden (view full) ---

403 {
404 if (!enabled())
405 return;
406
407 int sysi = getSys(sys);
408 int smi = getSm(sysi, sm, frame);
409 add(OP_BEGIN, FL_HW | f, 0, smi, getSt(sm, st));
410 if (f & FL_BAD)
411 warn("BAD state encountered: at cycle %d: %s\n", curTick, st);
411 warn("BAD state encountered: at cycle %d: %s\n", curTick(), st);
412 }
413
414 inline void hwQ(flags f, System *sys, uint64_t frame, std::string sm,
415 std::string q, uint64_t qid, System *q_sys = NULL, int32_t count = 1)
416 {
417 if (!enabled())
418 return;
419

--- 104 unchanged lines hidden ---
412 }
413
414 inline void hwQ(flags f, System *sys, uint64_t frame, std::string sm,
415 std::string q, uint64_t qid, System *q_sys = NULL, int32_t count = 1)
416 {
417 if (!enabled())
418 return;
419

--- 104 unchanged lines hidden ---