Directory Core/Thread/

Total Files:
56
Deleted Files:
3
Lines of Code:
10550

[root]/Core/Thread

Lines of Code

Core/Thread/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 151 (100.0%) 701 (100.0%) 4.6
ahumphrey 40 (26.5%) 588 (83.9%) 14.7
jas 100 (66.2%) 66 (9.4%) 0.6
dav 9 (6.0%) 40 (5.7%) 4.4
jsutherland 1 (0.7%) 4 (0.6%) 4.0
jthornoc 1 (0.7%) 3 (0.4%) 3.0

Most Recent Commits

dav 2014-11-13 21:24 Rev.: 52714

- Fixes for OP X Yosemite and a few minor other fixes. Tested on old OSX and 3 flavors of Linux including GPUs.

M configure.ac
M configure

- Fix excess spew from clang compiler during configure.
- Check for version 14 of OS x (Yosemite).
- Removed 'atlas' check under Darwin as it was actually a blas check.
- Put in checks for Blas and Lapack for old and new (yosemite) OS X.

M aclocal.m4

- Fix shell script output error when used in configure to show the results of `basename $1`.
- Clang compiler uses both stderr and stdout (sigh), and outputs in a different order then
other compilers (for --version). This commit handles this.
- Quote a few variables so that if they are blank, the shell doesn't give warning messages.

M include/sci_defs/blas_testdefs.h.in

- Fix to handle new/old OS X and other OSes in a cleaner manner.

M CCA/Components/Parent/sub.mk

- Arches now uses Boost (in Arches.h), so Parent needs to know to compile against boost.

M CCA/Components/Arches/Arches.h

- Move #if guards for multiple inclusion to the top of file so that the compiler has to do less work.
- Alphabetize #includes so I can see what is there.
- #include boost/shared_prt as it is used in this file.

M CCA/Components/Arches/Transport/URHS.h

- One of our compilers errored on the excessive use of 'typename', so trimmed back a little.

M CCA/Components/Arches/sub.mk

- Remove tabs, lined up, alphabetized, removed old crud.

M Core/Thread/ThreadLock.h

- Move #if guard for multiple inclusion to the top of file so that the compiler has to do less work.
- Fixed spelling in #if guard: Threadlock updated to ThreadLock (capital L).
- Lined things up a little.

M Core/DataArchive/DataArchive.h

- Cosmetic lineup of variables.

M Core/DataArchive/DataArchive.cc

- Cosmetic white space and coding standards update,
don't use "std::" if using "using namespace std".



12 lines of code changed in 2 files:

  • Core/Thread: ThreadLock.h (+12 -14)
jsutherland 2014-11-13 18:09 Rev.: 52713

Revert Jeremy's commit that changed the build system for Yosemite.
This caused build failures on several existing systems.

4 lines of code changed in 1 file:

  • Core/Thread: ThreadLock.h (+4 -3)
jthornoc 2014-11-13 17:44 Rev.: 52711

** Dav **
Fixes to the build system to get Uintah building under Yosemite. Changed:
include/sci_defs/blas_testdefs.h.in
configure.ac
configure

** Dav **
Fixed a typo:
Core/Thread/ThreadLock.h

3 lines of code changed in 1 file:

  • Core/Thread: ThreadLock.h (+3 -4)
ahumphrey 2014-10-08 09:58 Rev.: 52560

Fix MAC-specific gcc compiler error in Thread::numProcessors() - "error: taking address of temporary array".
It appears gcc doesn't like the fact that tparams is not bound outside of the sysctl call.

0 lines of code changed in 2 files:

  • Core/Thread: Thread_pthreads.cc (new)
dav 2014-10-02 16:56 Rev.: 52535

- Cleanups from Vulcan@LLNL. Mostly cosmetic, though a few real fixes
found while porting to BGQ machine.

- Replaced proc0thread0cerr with proc0cerr as proc0cerr is (now
specifically) defined to only print out from thread 0 of process 0.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Cosmetic
- Alphabetize the #includes for better readability and to remove duplicates.
- Put the #ifdef USE_GPERFTOOLS around entire block, instead of having
it multiple times and leaving dead if statements around it.

M CCA/Components/SimulationController/SimulationController.cc

- Cosmetic: Fix indentation (use diff -b to better see differences.)

M CCA/Components/DataArchiver/DataArchiver.cc

- Added the ability to specify checkpoint time via hours (in addition to seconds).
- Cleaned up the code to make it more readable for parsing this
information from input file - ie, use variable names that correspond
to the data they hold.
- Commented out a few lines of code that didn't do anything.
- Indented for readability, lined up some variable assignments.

M CCA/Components/Arches/CompDynamicProcedure.cc

- Alphabetize the #includes for better readability and to remove duplicates.
- Replaced proc0thread0cerr with proc0cerr.

M CCA/Components/Arches/DQMOM.cc
M CCA/Components/Arches/PropertyModels/PropertyModelBase.h
M CCA/Components/Arches/IncDynamicProcedure.cc
M CCA/Components/Arches/Arches.cc

- Replaced proc0thread0cerr with proc0cerr.

M CCA/Components/Arches/ChemMix/ClassicTableInterface.cc

- Throw a ProblemSetupException as that is what the error is.

M Core/Exceptions/InvalidState.cc

- Propagate (user supplied) error message.

M Core/Grid/Patch.cc

- Whitespace cleanup for readability.

M Core/Grid/Grid.h

- Whitespace cleanup for readability.
- Parameter to setExtraCells() is now (explicitly) const.

M Core/Grid/Level.cc
M Core/Grid/Grid.cc

- Coding standard and whitespace cleanup.

M Core/Parallel/Parallel.h

- Updated proc0cout to handle threaded versions of Uintah. If in MPI
only mode, then only prints for proc 0. If in threaded mode, only
prints for proc 0 thread 0.
- Removed proc0thread0cout as now only proc0cout is needed.

M Core/Thread/ThreadPool.h

- Remove tabs, line up code.

M Core/Thread/Thread.h
M Core/Thread/Parallel.h
M testprograms/Thread/parallel.cc

- Added the ThreadNS namespace because there are two classes named
'Parallel' in Uintah, and the one in the new ThreadNS is only used
in a few locations and thus is easier to move into its own NS.

M StandAlone/inputs/UPS_SPEC/ups_spec.xml

- Added 'walltimeStartHours' and 'walltimeIntervalHours' (to augment the
version that uses just seconds).
- Lined up for better readability.

M tools/StackTrace/StackTrace.cc

- Fixes for the stack trace tool for machines that only provide symbol
numbers in their stack traces. However, unfortunately, this still
doesn't seem to provide a valid stack trace on Vulcan.

20 lines of code changed in 6 files:

  • Core/Thread: Parallel.h (new), Thread.h (new), ThreadPool.h (+12 -12)
ahumphrey 2014-08-30 23:05 Rev.: 52377

Remove REDSTORM artifacts.

0 lines of code changed in 2 files:

  • Core/Thread: Thread.cc (-8)
dav 2014-08-19 14:32 Rev.: 52317


A number of clean ups for Vulcan (LLNL - BGQ machine). Most
importantly, fixed memory usage reporting (see ProcessInfo.cc).

M CCA/Components/SimulationController/AMRSimulationController.h
M CCA/Components/SimulationController/AMRSimulationController.cc

- Added white space, removed tabs, line up params, etc.

M CCA/Components/SimulationController/SimulationController.cc

- Moved toHumanUnits() to ProcessInfo so it can be used by others.
- Line up variables, add white space.
- Consistent (correct) capitalization/punctuation of some comments.

M CCA/Components/LoadBalancers/SingleProcessorLoadBalancer.h
M CCA/Components/LoadBalancers/SingleProcessorLoadBalancer.cc

- inNeighborhood() did not have the same declaration as its parent
(superclass)... removed "const MaterialSubset*" to fix this... not
sure how this worked before.
- White space.

M CCA/Components/LoadBalancers/LoadBalancerCommon.h

- Add "d_" to several class variables to be consistent and conform to coding standard.
- Removed extra (unnecessary) level of indentation.
- White space, line up variables.

M CCA/Components/LoadBalancers/LoadBalancerCommon.cc

- Add "d_" to several class variables to be consistent and conform to coding standard.
- White space.

M CCA/Components/Schedulers/OnDemandDataWarehouse.cc

- Alphabetize #includes to more easily determine what is included.
- White space, line up variables.

M CCA/Components/Schedulers/UnifiedScheduler.cc

- Minor white space, coding standard update.

M CCA/Components/Schedulers/MPIScheduler.cc

- Minor white space fix.

M CCA/Components/Schedulers/SchedulerCommon.cc

- ProcessInfo GetMemoryResident() renamed with lowercase 'g' to match coding standard.
- Added processor rank to commented out memory usage print statement.

M CCA/Components/Arches/Radiation/RadPropertyCalculator.h

- Alphabetize #includes, remove superfluous ;s, remove tabs, line up functions/variables.

M Core/OS/ProcessInfo.h
M Core/OS/ProcessInfo.cc

- Fixed (added) BGQ memory usage querying code. Previously, it was
calling the generic linux version, and trying to open
/proc/<pid>/status to get memory info. On BGQ machines, this file
does not exist (except on the I/O node - where, while it exists,
it does not have valid information in it). In the generic linux
version, if the file fails to open, then an error is NOT thrown,
and 0 is returned... most likely we should fix this so that it
throws an error...
Note, the code for using the "mallinfo" (for BGQ) version of memory
checking was also added to this file, but is commented out and not
used because it uses an integer as the return variable and thus
does not correctly handle systems with more than 2 GB of memory.

- Coding standard updates.
- Moved toHumanUnits() here.
- Use lowercase letter for first letter in function names to be consistent and follow standard.

M Core/Parallel/Parallel.cc
M Core/Thread/Thread_pthreads.cc

- Minor white space, capitalization/punctuation.

M StandAlone/sub.mk

- For static builds, need Wasatch 3P libs to link.

M StandAlone/sus.cc

- Alphabetize #includes.



8 lines of code changed in 1 file:

  • Core/Thread: Thread_pthreads.cc (+8 -8)
ahumphrey 2014-05-12 08:39 Rev.: 51831

Excise Windows support in Core/Thread and sus.cc
Some formattig and { }

588 lines of code changed in 36 files:

  • Core/Thread: AtomicCounter.h (+9 -8), Barrier.h (+11 -9), ConditionVariable.h (+48 -47), CrowdMonitor.h (new), Mutex.h (new), MutexPool.h (+43 -40), ParallelBase.h (+9 -8), Runnable.h (new), Semaphore.h (new), SimpleReducer.h (new), Thread.cc (+2 -16), Thread.h (+3 -11), ThreadGroup.cc (+54 -56), ThreadGroup.h (+79 -78), ThreadLock.h (+13 -12), Thread_unix.cc (+109 -116), Thread_win32.cc (del), Time.h (+16 -15), Time_win32.cc (del), WorkQueue.h (+50 -48), share.h (del)
jas 2014-04-07 13:13 Rev.: 51708

Eliminate warnings as turned up by clang.

7 lines of code changed in 7 files:

  • Core/Thread: AtomicCounter.h (+1 -1), Barrier.h (+1 -1), ConditionVariable.h (+2 -2), CrowdMonitor.h (+1 -1), RecursiveMutex.h (new), Semaphore.h (+1 -1)
jas 2014-01-16 00:47 Rev.: 51467

Updated copyright information.

59 lines of code changed in 93 files:

  • Core/Thread: AtomicCounter.h (+1 -1), AtomicCounter_default.cc (+1 -1), AtomicCounter_gcc.cc (+1 -1), Barrier.h (+1 -1), Barrier_default.cc (+1 -1), CleanupManager.cc (new), CleanupManager.h (new), ConditionVariable.h (+1 -1), CrashPad.cc (+1 -1), CrashPad.h (new), CrowdMonitor.h (+1 -1), CrowdMonitor_default.cc (+1 -1), CrowdMonitor_pthreads.cc (+1 -1), FutureValue.h (+1 -1), Guard.cc (new), Guard.h (new), Mailbox.h (+1 -1), Mutex.h (+1 -1), MutexPool.cc (new), MutexPool.h (+1 -1), Parallel.h (+1 -1), Parallel1.h (new), Parallel2.h (+1 -1), Parallel3.h (+1 -1), ParallelBase.cc (+1 -1), ParallelBase.h (+1 -1), RecursiveMutex.h (+1 -1), RecursiveMutex_default.cc (new), Reducer.h (new), Runnable.cc (+1 -1), Runnable.h (+1 -1), Semaphore.h (+1 -1), SimpleReducer.cc (+1 -1), SimpleReducer.h (+1 -1), Thread.cc (+1 -1), Thread.h (+1 -1), ThreadError.cc (new), ThreadError.h (new), ThreadGroup.cc (+1 -1), ThreadGroup.h (+1 -1), ThreadLock.cc (new), ThreadLock.h (+1 -1), ThreadPool.cc (+1 -1), ThreadPool.h (+1 -1), Thread_irix.cc (+1 -1), Thread_none.cc (new), Thread_pthreads.cc (+1 -1), Thread_unix.cc (+1 -1), Thread_unix.h (new), Thread_win32.cc (new 1), Time.h (+1 -1), Time_altix.cc (+1 -1), Time_irix.cc (new), Time_unix.cc (new), Time_win32.cc (new 1), WorkQueue.cc (new), WorkQueue.h (+1 -1), share.h (new 1), sub.mk (+1 -1)
Generated by StatSVN 0.7.0