02-01-2010
POWER Hardware
I need book or any useful link about POWER hardware architecture .. Thanks :-)
6 More Discussions You Might Find Interesting
1. Programming
Hi,
I wrote a small program to find 2 to the power of 3,
when I tried to execute the following error occured.
How can I solve this problem?
$ cat t1.c
#include <math.h>
#include<stdio.h>
main()
{
int a=2;
int b=3;
int c;
c = a ^ b; /* if i use ** instead of ^ also the same problem... (2 Replies)
Discussion started by: krishna
2 Replies
2. UNIX for Dummies Questions & Answers
I have a SCO UNIX 5.0.6. and a computer ATX.
My Question is:
How can i to power off my computer without to push the power button? :confused:
Please help me. :(
Thanks :) (11 Replies)
Discussion started by: vhabalos
11 Replies
3. Shell Programming and Scripting
hi to all!
im using hp-ux 10.2
is it posible for the mdelete command to execute on the root directory if it did not find any file on the specified sub-directory?
this is my sample script
USER=root
PASSWD=root
cd /u01/app/oralog/arch
ftp -n 192.119.10.3
user $USER $PASSWD
prompt... (2 Replies)
Discussion started by: gunsbong
2 Replies
4. AIX
I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks! (3 Replies)
Discussion started by: thomn8r
3 Replies
5. What is on Your Mind?
I had some free time at work today so I decided to get a little practice with my shell scripts (I'm pretty new to the whole UNIX thing).
I'm sure I'm not the only college student here so maybe this code will come in handy for future weekends.
#!/bin/sh
if
then
echo "No playlist... (0 Replies)
Discussion started by: thedoobieman5
0 Replies
6. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
LEARN ABOUT CENTOS
papi_num_cmp_hwctrs
PAPI_num_cmp_hwctrs(3) PAPI PAPI_num_cmp_hwctrs(3)
NAME
PAPI_num_cmp_hwctrs -
Return the number of hardware counters for the specified component.
SYNOPSIS
Detailed Description
PAPI_num_cmp_hwctrs() returns the number of counters present in the specified component. By convention, component 0 is always the cpu.
On some components, especially for CPUs, the value returned is a theoretical maximum for estimation purposes only. It might not be possible
to easily create an EventSet that contains the full number of events. This can be due to a variety of reasons: 1). Some CPUs (especially
Intel and POWER) have the notion of fixed counters that can only measure one thing, usually cycles. 2). Some CPUs have very explicit rules
about which event can run in which counter. In this case it might not be possible to add a wanted event even if counters are free. 3). Some
CPUs halve the number of counters available when running with SMT (multiple CPU threads) enabled. 4). Some operating systems 'steal' a
counter to use for things such as NMI Watchdog timers. The only sure way to see if events will fit is to attempt adding events to an
EventSet, and doing something sensible if an error is generated.
PAPI_library_init() must be called in order for this function to return anything greater than 0.
C Interface:
#include <papi.h>
int PAPI_num_cmp_hwctrs(int cidx );
Parameters:
cidx -- An integer identifier for a component. By convention, component 0 is always the cpu component.
Example
* // Query the cpu component for the number of counters.
* printf(
*
Returns:
On success, this function returns a value greater than zero.
A zero result usually means the library has not been initialized.
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_num_cmp_hwctrs(3)