[gem5-users] Integrated DRAMPower model

2014-10-10 Thread Andreas Hansson via gem5-users
Hi all,

With today’s push to the gem5 trunk (not stable) I am very pleased to announce 
that DRAMPower is now integrated as the power model backing up the built-in 
gem5 DRAM controller. Datasheet IDD values are provided for the existing 
LPDDR2/LPDDR3 and DDR3/DDR4 configurations, but obviously there is nothing 
stopping people from exploring further. The energy and power results are part 
of the normal gem5 stats.

I would like to especially thank the DRAMPower developers for accommodating the 
integration, and I am sure there will be a continued mutual benefit from having 
the two tools work together. With Nilay’s recent Ruby patches this integration 
should also benefit all Ruby users very shortly.

We hope all gem5 users enjoy the new functionality.

Kind regards,

Andreas


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company No: 2548782___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Writing to float Register File

2014-10-10 Thread Vanchinathan Venkataramani via gem5-users
Hi all

I'm trying to understand floating point register files.

There are two functions responsible for reading and writing floating
pointregisters.

1. setFloatReg
2. setFloatRegBits

I'm not able to understand under what scenarios each of these functions are
called.

Thanks
V Vanchinathan
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Integrated DRAMPower model

2014-10-10 Thread Ahmad Hassan via gem5-users
Thanks Andreas. I see compilation error on the trunk tip (changeset:
10433:821cbe4a183b)

`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
std::operator+char, std::char_traitschar, std::allocatorchar (char
const*, std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const)' referenced in section
`.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int
fromStringint(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
build/drampower/libdrampower.a(Parameter.os): defined in discarded section
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
build/X86/mem/cache/base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
std::operator+char, std::char_traitschar, std::allocatorchar (char
const*, std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const)' referenced in section
`.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int
fromStringunsigned int(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
build/drampower/libdrampower.a(Parameter.os): defined in discarded section
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
build/X86/mem/cache/base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
std::operator+char, std::char_traitschar, std::allocatorchar (char
const*, std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const)' referenced in section
`.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long
fromStringunsigned long(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
build/drampower/libdrampower.a(Parameter.os): defined in discarded section
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
build/X86/mem/cache/base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
std::operator+char, std::char_traitschar, std::allocatorchar (char
const*, std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const)' referenced in section
`.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double
fromStringdouble(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
build/drampower/libdrampower.a(Parameter.os): defined in discarded section
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
build/X86/mem/cache/base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
std::operator+char, std::char_traitschar, std::allocatorchar (char
const*, std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const)' referenced in section
`.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool
fromStringbool(std::basic_stringchar, std::char_traitschar,
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
build/drampower/libdrampower.a(Parameter.os): defined in discarded section
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
build/X86/mem/cache/base.fo (symbol from plugin)
collect2: ld returned 1 exit status
scons: *** [build/X86/gem5.fast.unstripped] Error 1
scons: building terminated because of errors.

Regards,


On 10 October 2014 09:00, Andreas Hansson via gem5-users 
gem5-users@gem5.org wrote:

  Hi all,

  With today’s push to the gem5 trunk (not stable) I am very pleased to
 announce that DRAMPower is now integrated as the power model backing up the
 built-in gem5 DRAM controller. Datasheet IDD values are provided for the
 existing LPDDR2/LPDDR3 and DDR3/DDR4 configurations, but obviously there is
 nothing stopping people from exploring further. The energy and power
 results are part of the normal gem5 stats.

  I would like to especially thank the DRAMPower developers for
 accommodating the integration, and I am sure there will be a continued
 mutual benefit from having the two tools work together. With Nilay’s recent
 Ruby patches this integration should also benefit all Ruby users very
 shortly.

  We hope all gem5 users enjoy the new functionality.

  Kind regards,

  Andreas


 -- IMPORTANT NOTICE: The contents of this email and any attachments are
 confidential and may also be privileged. If you are not the intended
 recipient, please notify the sender immediately and do not disclose the
 contents to any other person, use it for any purpose, or store or copy the
 information in any medium. Thank you.

 ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
 Registered in England  Wales, Company No: 2557590
 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
 Registered in England  Wales, Company No: 2548782

 ___
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


Re: [gem5-users] Integrated DRAMPower model

2014-10-10 Thread Andreas Hansson via gem5-users
Hi Ahmad,

That is odd. Could you elaborate on what environment you are building in?

I’ve tested this on Ubuntu 12.04, RHE5/6 and OSX with clang 3.4/3.5, gcc 4.6 
and 4.9 without any problems.

Andreas

From: Ahmad Hassan ahmad.has...@gmail.commailto:ahmad.has...@gmail.com
Date: Friday, 10 October 2014 09:51
To: Andreas Hansson andreas.hans...@arm.commailto:andreas.hans...@arm.com, 
gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] Integrated DRAMPower model

Thanks Andreas. I see compilation error on the trunk tip (changeset: 
10433:821cbe4a183b)

`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int 
fromStringint(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int 
fromStringunsigned int(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long 
fromStringunsigned long(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double 
fromStringdouble(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool 
fromStringbool(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
collect2: ld returned 1 exit status
scons: *** [build/X86/gem5.fast.unstripped] Error 1
scons: building terminated because of errors.

Regards,


On 10 October 2014 09:00, Andreas Hansson via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org wrote:
Hi all,

With today’s push to the gem5 trunk (not stable) I am very pleased to announce 
that DRAMPower is now integrated as the power model backing up the built-in 
gem5 DRAM controller. Datasheet IDD values are provided for the existing 
LPDDR2/LPDDR3 and DDR3/DDR4 configurations, but obviously there is nothing 
stopping people from exploring further. The energy and power results are part 
of the normal gem5 stats.

I would like to especially thank the DRAMPower developers for accommodating the 
integration, and I am sure there will be a continued mutual benefit from having 
the two tools work together. With Nilay’s recent Ruby patches this integration 
should also benefit all Ruby users very shortly.

We hope all gem5 users enjoy the new functionality.

Kind regards,

Andreas


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If 

Re: [gem5-users] Integrated DRAMPower model

2014-10-10 Thread Ahmad Hassan via gem5-users
Hi Andreas,

My environment is:
Ubuntu precise (12.04.3 LTS)
gcc 4.6

To be precise, it is a linking error, not the compilation one.

Regards,


On 10 October 2014 10:42, Andreas Hansson andreas.hans...@arm.com wrote:

  Hi Ahmad,

  That is odd. Could you elaborate on what environment you are building in?

  I’ve tested this on Ubuntu 12.04, RHE5/6 and OSX with clang 3.4/3.5, gcc
 4.6 and 4.9 without any problems.

  Andreas

   From: Ahmad Hassan ahmad.has...@gmail.com
 Date: Friday, 10 October 2014 09:51
 To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing list 
 gem5-users@gem5.org
 Subject: Re: [gem5-users] Integrated DRAMPower model

  Thanks Andreas. I see compilation error on the trunk tip (changeset:
 10433:821cbe4a183b)

 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int
 fromStringint(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int
 fromStringunsigned int(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long
 fromStringunsigned long(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double
 fromStringdouble(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool
 fromStringbool(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 collect2: ld returned 1 exit status
 scons: *** [build/X86/gem5.fast.unstripped] Error 1
 scons: building terminated because of errors.

  Regards,


  On 10 October 2014 09:00, Andreas Hansson via gem5-users 
 gem5-users@gem5.org wrote:

  Hi all,

  With today’s push to the gem5 trunk (not stable) I am very pleased to
 announce that DRAMPower is now integrated as the power model backing up the
 built-in gem5 DRAM controller. Datasheet IDD values are provided for the
 existing LPDDR2/LPDDR3 and DDR3/DDR4 configurations, but obviously there is
 nothing stopping people from exploring further. The energy and power
 results are part of the normal gem5 stats.

  I would like to especially thank the DRAMPower developers for
 accommodating the integration, and I am sure there will be a continued
 mutual benefit from having the two tools work together. With Nilay’s recent
 Ruby patches this integration should also benefit all Ruby users very
 shortly.

  We hope all gem5 users enjoy the new functionality.

  Kind regards,

  Andreas


 -- IMPORTANT NOTICE: The contents 

Re: [gem5-users] Integrated DRAMPower model

2014-10-10 Thread Andreas Hansson via gem5-users
Hi Ahmad,

I suspect gcc 4.6 has issues with LTO. I suspect opt works fine, and if you 
want fast, then “--no-lto” should work.

I have a 12.04.03 machine with stock gcc 4.6 and it does have some link-time 
warnings for X86, but no errors. Odd…

Andreas

From: Ahmad Hassan ahmad.has...@gmail.commailto:ahmad.has...@gmail.com
Date: Friday, 10 October 2014 10:51
To: Andreas Hansson andreas.hans...@arm.commailto:andreas.hans...@arm.com
Cc: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] Integrated DRAMPower model

Hi Andreas,

My environment is:
Ubuntu precise (12.04.3 LTS)
gcc 4.6

To be precise, it is a linking error, not the compilation one.

Regards,


On 10 October 2014 10:42, Andreas Hansson 
andreas.hans...@arm.commailto:andreas.hans...@arm.com wrote:
Hi Ahmad,

That is odd. Could you elaborate on what environment you are building in?

I’ve tested this on Ubuntu 12.04, RHE5/6 and OSX with clang 3.4/3.5, gcc 4.6 
and 4.9 without any problems.

Andreas

From: Ahmad Hassan ahmad.has...@gmail.commailto:ahmad.has...@gmail.com
Date: Friday, 10 October 2014 09:51
To: Andreas Hansson andreas.hans...@arm.commailto:andreas.hans...@arm.com, 
gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] Integrated DRAMPower model

Thanks Andreas. I see compilation error on the trunk tip (changeset: 
10433:821cbe4a183b)

`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int 
fromStringint(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int 
fromStringunsigned int(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long 
fromStringunsigned long(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double 
fromStringdouble(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
`std::basic_stringchar, std::char_traitschar, std::allocatorchar  
std::operator+char, std::char_traitschar, std::allocatorchar (char 
const*, std::basic_stringchar, std::char_traitschar, std::allocatorchar  
const)' referenced in section 
`.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool 
fromStringbool(std::basic_stringchar, std::char_traitschar, 
std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of 
build/drampower/libdrampower.a(Parameter.os): defined in discarded section 
`.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of 
build/X86/mem/cache/base.fohttp://base.fo (symbol from plugin)
collect2: ld returned 1 exit status
scons: *** [build/X86/gem5.fast.unstripped] Error 1
scons: building terminated because of errors.

Regards,


On 10 October 2014 09:00, Andreas Hansson via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org wrote:
Hi all,

With today’s push to the gem5 trunk (not stable) I am very pleased to announce 
that 

Re: [gem5-users] Integrated DRAMPower model

2014-10-10 Thread Ahmad Hassan via gem5-users
Indeed. That works without any warnings/errors:

scons --no-lto -j10 build/X86/gem5.fast

Regards,

On 10 October 2014 13:11, Andreas Hansson andreas.hans...@arm.com wrote:

  Hi Ahmad,

  I suspect gcc 4.6 has issues with LTO. I suspect opt works fine, and if
 you want fast, then “--no-lto” should work.

  I have a 12.04.03 machine with stock gcc 4.6 and it does have some
 link-time warnings for X86, but no errors. Odd…

  Andreas

   From: Ahmad Hassan ahmad.has...@gmail.com
 Date: Friday, 10 October 2014 10:51
 To: Andreas Hansson andreas.hans...@arm.com
 Cc: gem5 users mailing list gem5-users@gem5.org

 Subject: Re: [gem5-users] Integrated DRAMPower model

   Hi Andreas,

 My environment is:
 Ubuntu precise (12.04.3 LTS)
  gcc 4.6

  To be precise, it is a linking error, not the compilation one.

  Regards,


   On 10 October 2014 10:42, Andreas Hansson andreas.hans...@arm.com
 wrote:

  Hi Ahmad,

  That is odd. Could you elaborate on what environment you are building
 in?

  I’ve tested this on Ubuntu 12.04, RHE5/6 and OSX with clang 3.4/3.5,
 gcc 4.6 and 4.9 without any problems.

  Andreas

   From: Ahmad Hassan ahmad.has...@gmail.com
 Date: Friday, 10 October 2014 09:51
 To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing list 
 gem5-users@gem5.org
 Subject: Re: [gem5-users] Integrated DRAMPower model

  Thanks Andreas. I see compilation error on the trunk tip (changeset:
 10433:821cbe4a183b)

 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIiET_RKSsPFRSt8ios_baseS4_E[int
 fromStringint(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIjET_RKSsPFRSt8ios_baseS4_E[unsigned int
 fromStringunsigned int(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringImET_RKSsPFRSt8ios_baseS4_E[unsigned long
 fromStringunsigned long(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIdET_RKSsPFRSt8ios_baseS4_E[double
 fromStringdouble(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 `std::basic_stringchar, std::char_traitschar, std::allocatorchar 
 std::operator+char, std::char_traitschar, std::allocatorchar (char
 const*, std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const)' referenced in section
 `.text._Z10fromStringIbET_RKSsPFRSt8ios_baseS4_E[bool
 fromStringbool(std::basic_stringchar, std::char_traitschar,
 std::allocatorchar  const, std::ios_base (*)(std::ios_base))]' of
 build/drampower/libdrampower.a(Parameter.os): defined in discarded section
 `.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' of
 build/X86/mem/cache/base.fo (symbol from plugin)
 collect2: ld returned 1 exit status
 scons: *** [build/X86/gem5.fast.unstripped] Error 1
 scons: building terminated because of errors.

  Regards,


  On 10 October 2014 09:00, Andreas Hansson via gem5-users 
 gem5-users@gem5.org wrote:

  Hi all,

  With today’s push to the gem5 trunk (not stable) I am very pleased to
 announce that DRAMPower is now integrated as the power model backing 

[gem5-users] Getting started with DVFS

2014-10-10 Thread Stephan Diestelhorst via gem5-users
Hi all,
  in the last couple of days there have been a few questions about how
to get started with the DVFS functionality that we have integrated in
gem5 recently.

I took a quick first stab at writing a set of instructions to get the
right kernel and gem5 configuration together so that one can play with
DVFS.

For now, I have put this under the following page on the wiki:
http://gem5.org/Running_gem5#Experimenting_with_DVFS

Not sure if that should live in an own page.

I hope people find this helpful.  Feel free to improve and also please
let me know if there are flaws.

--
Sincerely,
  Stephan

Stephan Diestelhorst
Staff Engineer,
ARM RD Systems
+44 (0)1223 405662


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company No:  2548782

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users