PAPI_flips(3) PAPI PAPI_flips(3)NAME
PAPI_flips -
Simplified call to get Mflips/s (floating point instruction rate), real and processor time.
SYNOPSIS Detailed Description
C Interface:
#include <papi.h>
int PAPI_flips( float *rtime, float *ptime, long long *flpins, float *mflips );
Parameters:
*rtime total realtime since the first call
*ptime total process time since the first call
*flpins total floating point instructions since the first call
*mflips incremental (Mega) floating point instructions per seconds since the last call
Return values:
PAPI_EINVAL The counters were already started by something other than PAPI_flips().
PAPI_ENOEVNT The floating point instructions event does not exist.
PAPI_ENOMEM Insufficient memory to complete the operation.
The first call to PAPI_flips() will initialize the PAPI High Level interface, set up the counters to monitor the PAPI_FP_INS event and
start the counters.
Subsequent calls will read the counters and return total real time, total process time, total floating point instructions since the start
of the measurement and the Mflip/s rate since latest call to PAPI_flips(). A call to PAPI_stop_counters() will stop the counters from
running and then calls such as PAPI_start_counters() or other rate calls can safely be used.
PAPI_flips returns information related to floating point instructions using the PAPI_FP_INS event. This is intended to measure instruction
rate through the floating point pipe with no massaging.
See Also:
PAPI_flops()
PAPI_ipc()
PAPI_epc()
PAPI_stop_counters()
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_flips(3)
Check Out this Related Man Page
PAPI_ipc(3) PAPI PAPI_ipc(3)NAME
PAPI_ipc -
Simplified call to get instructions per cycle, real and processor time.
SYNOPSIS Detailed Description
C Interface:
#include <papi.h>
int PAPI_ipc( float *rtime, float *ptime, long long *ins, float *ipc );
Parameters:
*rtime total realtime since the first call
*ptime total process time since the first call
*ins total instructions since the first call
*ipc incremental instructions per cycle since the last call
Return values:
PAPI_EINVAL The counters were already started by something other than PAPI_ipc().
PAPI_ENOEVNT The floating point operations event does not exist.
PAPI_ENOMEM Insufficient memory to complete the operation.
The first call to PAPI_ipc() will initialize the PAPI High Level interface, set up the counters to monitor PAPI_TOT_INS and PAPI_TOT_CYC
events and start the counters.
Subsequent calls will read the counters and return total real time, total process time, total instructions since the start of the
measurement and the IPC rate since the latest call to PAPI_ipc().
A call to PAPI_stop_counters() will stop the counters from running and then calls such as PAPI_start_counters() or other rate calls can
safely be used.
PAPI_ipc should return a ratio greater than 1.0, indicating instruction level parallelism within the chip. The larger this ratio the more
effeciently the program is running.
See Also:
PAPI_flips()
PAPI_flops()
PAPI_epc()
PAPI_stop_counters()
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_ipc(3)
Here's a program and its pretty simple .It requires file handling and some calculations but on running it I am not getting the required result.It seems that the code outside the file read's outer while loop is not executing e.g the print statement is not being printed.Plz Help!
#include<stdio.h>... (1 Reply)
Hi
Can anyone explain me in detail the following instructions (1st and 2nd line only)?
ls | \
while IFS= read filename
do
(some other instructions)
done
Thanks in advance.
Lazy (2 Replies)
Hi Friend,
Need your help.
I have a file which has information of start time and End time . I need to find how much time takes to complete the job . how can I do it in unix command .
Example of Log file :
Start Loading ---Thu Aug 2 17:14:09 EDT 2012
Load... (5 Replies)
Hi!
At first I'm new to this forum and I'm not sure if this post is correct in this place.
I have a problem trying to change 2 C instructions for system calls. The code that I have is that:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include... (4 Replies)
Hi All,
I currently have a shell script which is pulling multiple counters from various sources. Due to the counters being cumulative counters I've got some code to work out the delta from the last reading and current which is working fine.
The problem i have now is being able to work out the... (8 Replies)