UltraSPARC IV+ Update

Darryl Gove identified a bug with the UltraSPARC IV+ definitions a week ago. Many thanks to Darryl for bringing these to my attention.

These are the current definitions to use in .er.rc files:

en_desc on
ignore_no_xhwcprof
mobj_define Vaddr VADDR
mobj_define Paddr PADDR
indxobj_define VIRTPC "VIRTPC"
indxobj_define PHYSPC "PHYSPC"
indxobj_define Process PID
indxobj_define Thread (PID\*1000)+THRID
indxobj_define ThreadID THRID
indxobj_define Seconds (TSTAMP/1000000000) 
indxobj_define Minutes (TSTAMP/60000000000) 
mobj_define US4p_L1DataCacheLine (VADDR&0x3fe0)>>5 
mobj_define US4p_L2CacheLine (PADDR&0x7ffc0)>>6 
mobj_define US4p_L3CacheLine (PADDR&0x7fffc0)>>6 
mobj_define VA_L2 VADDR>>6 
mobj_define VA_L1 VADDR>>5 
mobj_define PA_L2 PADDR>>6 
mobj_define PA_L1 PADDR>>5 
mobj_define US4p_T512_8k (VADDR&0x1fe000)>>13 
mobj_define US4p_T512_64k (VADDR&0xff0000)>>16 
mobj_define US4p_T512_512k (VADDR&0x7f80000)>>19 
mobj_define US4p_T512_4M (VADDR&0x3fc00000)>>22 
mobj_define US4p_T512_32M (VADDR&0x1fe000000)>>25 
mobj_define US4p_T512_256M (VADDR&0xff0000000)>>28 
mobj_define Vpage_32M VADDR>>25 
mobj_define Vpage_256M VADDR>>28 
mobj_define Ppage_32M PADDR>>25 
mobj_define Ppage_256M PADDR>>28

These do include the general options for Sun Studio 12 Performance Analyzer, and does not include Processor and Memory Board definitions .

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

nk

Search

Top Tags
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today