smt.hh (6221:58a3c04e6344) | smt.hh (8230:845c8eb5ac49) |
---|---|
1/* 2 * Copyright (c) 2003-2005 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; --- 22 unchanged lines hidden (view full) --- 31/** 32 * @file 33 * Defines SMT_MAX_THREADS. 34 */ 35 36#ifndef __SMT_HH__ 37#define __SMT_HH__ 38 | 1/* 2 * Copyright (c) 2003-2005 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; --- 22 unchanged lines hidden (view full) --- 31/** 32 * @file 33 * Defines SMT_MAX_THREADS. 34 */ 35 36#ifndef __SMT_HH__ 37#define __SMT_HH__ 38 |
39#include "base/types.hh" 40 |
|
39#ifndef SMT_MAX_THREADS 40/** The number of TPUs in any processor. */ 41#define SMT_MAX_THREADS 4 42#endif 43 44/** 45 * The maximum number of active threads across all cpus. Used to 46 * initialize per-thread statistics in the cache. --- 15 unchanged lines hidden --- | 41#ifndef SMT_MAX_THREADS 42/** The number of TPUs in any processor. */ 43#define SMT_MAX_THREADS 4 44#endif 45 46/** 47 * The maximum number of active threads across all cpus. Used to 48 * initialize per-thread statistics in the cache. --- 15 unchanged lines hidden --- |