Sponsored Content
The Lounge What is on Your Mind? New Icons Coming from Font Awesome Post 303020949 by Don Cragun on Tuesday 31st of July 2018 10:49:08 PM
Old 07-31-2018
Quote:
Originally Posted by Neo
Hey Don,

Updating the counters are all cron based for performance reasons and so it's unlikely I will make any changes to update counters in real time. To create data base queries to update counters in real time would case a significant performance hit for the site and updating counters in real time is not necessary.
If I hit the thumbs up button and refresh the screen, the counter goes up. If I remove my thanks on that post and refresh the screen again, the counter goes down. All of this occurs is in less than 5 seconds. How often is this cron job running to it make this look like it is happening in real time? Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

redhat 7.2 icons on desktop

Hello all, Is there a way to change the behavior of the gnome desktop manager so that when your iconify a window it will be place on the desktop intead on on the task manager (gnome-panel)? It gets confusing having to loook throught the gnome-panle for the window I want when you have alot of... (1 Reply)
Discussion started by: larry
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Dotted thread icons

Can you guys please enable the "dotted" icon option, so that the thread icon for a thread in which a user has posted in will appear with a dot in it? Thanks, Aaron (2 Replies)
Discussion started by: Spetnik
2 Replies

3. Solaris

How to get a second Icons - Window!

Hey everybody! I'd like to get a second Window for my program Icons, any Idea how to solve this problem?? :confused: thanks, Tom (3 Replies)
Discussion started by: TomStyria
3 Replies

4. Red Hat

Menu Icons for the Application

Hi All, I created an RPM for my application. After clicking the rpm, I managed to place the files in repective locations also I have "JServer" menus in the "Application" menu (The redhat one). But the problem is the icons are not appearing in that menu. I placed my icons/images in... (0 Replies)
Discussion started by: jw_amp
0 Replies

5. AIX

CDE: why no icons?

Why my cde show no icons? I have installed X11.Dt.ToolTalk 7.1.3.15 C F AIX CDE ToolTalk Support X11.Dt.adt 7.1.3.0 C F AIX CDE Application X11.Dt.bitmaps 7.1.0.0 C F AIX CDE Bitmaps X11.Dt.compat ... (8 Replies)
Discussion started by: Linusolaradm1
8 Replies

6. What is on Your Mind?

New Mobile Navbar Icons from Font Awesome

Just changed the mobile site to use Font Awesome icons. Here is the new top navbar view (unregistered users) https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
Discussion started by: Neo
2 Replies

7. Web Development

New Font Awesome Icons in Quick Reply Editor

Working on the Quick Reply Editor, I have replaced a number of icons (see image below) with Font Awesome Icons. Was planning to replace all of them, but for some reason, replacing a few of them causes the script / template to break (which is odd) so I left them for now. ... (6 Replies)
Discussion started by: Neo
6 Replies

8. What is on Your Mind?

Quick Update on UNIX.COM Site Renovation: Bootstrap, Font Awesome and jQuery

Here is an update on the site renovation: After a lot of analysis and example programming, including testing out a number of Javascript framework and libraries, in the short term, we are getting the most bang-for-the-buck from these three basic, core tech areas: Bootstrap (CSS and... (2 Replies)
Discussion started by: Neo
2 Replies
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)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy