Flow123d
jenkins-Flow123d-windows32-release-multijob-51
|
#include <sys_profiler.hh>
Static Public Member Functions | |
static int | sum (int *val, MPI_Comm comm) |
static double | sum (double *val, MPI_Comm comm) |
static int | min (int *val, MPI_Comm comm) |
static double | min (double *val, MPI_Comm comm) |
static int | max (int *val, MPI_Comm comm) |
static double | max (double *val, MPI_Comm comm) |
Copyright (C) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
TODO:
extended output: cas na jedno volani (jina redukce nez pro kumulativni cas, pokud je pocet volani ruzny) procenta vuci predkovi code point (az nekde na konci radky)
!!! Unfortunately using constexpr is worse (without optimization). This is probably due to use of static variable for CodePoint, the access could be slow, and computation of hash is done only once. Actually timing results are:
OPTIONS OVERHEAD (compared to call 2x clock()) -g, no c++11 : 18% -g, c++11 : 60% -O3,no c++11 : 6% -O3, c++11 : 6%
Definition at line 69 of file sys_profiler.hh.
|
static |
|
static |
Definition at line 77 of file sys_profiler.cc.
|
static |
|
static |
Definition at line 65 of file sys_profiler.cc.
|
static |
Definition at line 47 of file sys_profiler.cc.
|
static |
Definition at line 53 of file sys_profiler.cc.