Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

papi_flips(3) [centos man page]

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_flops(3)							       PAPI							     PAPI_flops(3)

NAME
PAPI_flops - Simplified call to get Mflops/s (floating point operation rate), real and processor time. SYNOPSIS
Detailed Description C Interface: #include <papi.h> int PAPI_flops( float *rtime, float *ptime, long long *flpops, float *mflops ); Parameters: *rtime total realtime since the first call *ptime total process time since the first call *flpops total floating point operations since the first call *mflops incremental (Mega) floating point operations per seconds since the last call Return values: PAPI_EINVAL The counters were already started by something other than PAPI_flops(). PAPI_ENOEVNT The floating point operations event does not exist. PAPI_ENOMEM Insufficient memory to complete the operation. The first call to PAPI_flops() will initialize the PAPI High Level interface, set up the counters to monitor the PAPI_FP_OPS event and start the counters. Subsequent calls will read the counters and return total real time, total process time, total floating point operations since the start of the measurement and the Mflop/s rate since latest call to PAPI_flops(). 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_flops returns information related to theoretical floating point operations rather than simple instructions. It uses the PAPI_FP_OPS event which attempts to 'correctly' account for, e.g., FMA undercounts and FP Store overcounts, etc. See Also: PAPI_flips() 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_flops(3)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

process time

Hi , I want to find the total time taken by the system for doing a particular process. Can u help me!!!!! thanx- bye (1 Reply)
Discussion started by: sathishkumar
1 Replies

2. UNIX for Dummies Questions & Answers

floating point error in linux + C

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)
Discussion started by: headrush
1 Replies

3. UNIX for Dummies Questions & Answers

questions to a special ls

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)
Discussion started by: lazybaer
2 Replies

4. Shell Programming and Scripting

Total time taken

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)
Discussion started by: deep_kol
5 Replies

5. Shell Programming and Scripting

Replace C instructions for system calls

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)
Discussion started by: alwayslearn
4 Replies

6. UNIX for Beginners Questions & Answers

Working out percentage in shell script

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)
Discussion started by: mutley2202
8 Replies