Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tau_phase_create_static(3) [debian man page]

TAU_PHASE_CREATE_STA(3) 				      TAU Instrumentation API					   TAU_PHASE_CREATE_STA(3)

NAME
TAU_PHASE_CREATE_STATIC - Defines a static phase. SYNOPSIS
C/C++: TAU_PHASE_CREATE_STATIC(Phase phase, char* or string& function_name, char* or string& type, TauGroup_t group); Fortran: TAU_PHASE_CREATE_STATIC(integer phase(2), character name(size)); DESCRIPTION
TAU_PHASE_CREATE_STATIC creates a static phase. Static phases (and timers) are more efficient than dynamic ones because the function registration only takes place once. EXAMPLE
C/C++ : int f2(void) { TAU_PHASE_CREATE_STATIC(t2,"IO Phase", "", TAU_USER); TAU_PHASE_START(t2); input(); output(); TAU_PHASE_STOP(t2); return 0; } Fortran : subroutine F2() integer phase(2) / 0, 0 / save phase call TAU_PHASE_CREATE_STATIC(phase,'IO Phase') call TAU_PHASE_START(phase) call INPUT() call OUTPUT() call TAU_PHASE_STOP(phase) end SEE ALSO
TAU_PHASE_CREATE_DYNAMIC(3), TAU_PHASE_START(3), TAU_PHASE_STOP(3) 08/31/2005 TAU_PHASE_CREATE_STA(3)

Check Out this Related Man Page

mlib_SignalUpSample_S16_S16(3MLIB)			    mediaLib Library Functions				mlib_SignalUpSample_S16_S16(3MLIB)

NAME
mlib_SignalUpSample_S16_S16, mlib_SignalUpSample_S16S_S16S, mlib_SignalUpSample_F32_F32, mlib_SignalUpSample_F32S_F32S - signal upsampling SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalUpSample_S16_S16(mlib_s16 *dst, const mlib_s16 *src, mlib_s32 factor, mlib_s32 phase, mlib_s32 n); mlib_status mlib_SignalUpSample_S16S_S16S(mlib_s16 *dst, const mlib_s16 *src, mlib_s32 factor, mlib_s32 phase, mlib_s32 n); mlib_status mlib_SignalUpSample_F32_F32(mlib_f32 *dst, const mlib_f32 *src, mlib_s32 factor, mlib_s32 phase, mlib_s32 n); mlib_status mlib_SignalUpSample_F32S_F32S(mlib_f32 *dst, const mlib_f32 *src, mlib_s32 factor, mlib_s32 phase, mlib_s32 n); DESCRIPTION
Each of these functions performs upsampling. For monaural signals, the following equation is used: dst[i] = src[k] if i == k*factor + phase dst[i] = 0 if i != k*factor + phase where k = 0, 1, ..., (n - 1); i = 0, 1, ..., (n*factor - 1). For stereo signals, the following equation is used: dst[2*i] = src[2*k] if i == k*factor + phase dst[2*i] = 0 if i != k*factor + phase dst[2*i + 1] = src[2*k + 1] if i == k*factor + phase dst[2*i + 1] = 0 if i != k*factor + phase where k = 0, 1, ..., (n - 1); i = 0, 1, ..., (n*factor - 1). PARAMETERS
Each of the functions takes the following arguments: dst Output signal array. src Input signal array. factor Factor by which to upsample. factor >= 1. phase Parameter that determines relative position of an input value, within the output signal. 0 <= phase < factor. n Number of samples in the input signal array. RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalDownSample_S16_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalUpSample_S16_S16(3MLIB)
Man Page

9 More Discussions You Might Find Interesting

1. SCO

SCO OpenServer Error - there are not enogh disk resources

Hello, My System configuration is as: IDE Hrad Disk = 80GB RAM = 512MB While doing installation of SCO Open Server 5.0.7, I got stuck at second phase (i.e. IQM). During this phase, I selected for "Fresh" installtion and after that I go for "Customizing Partitions and FileSystems". But it... (0 Replies)
Discussion started by: ghimanshu
0 Replies

2. UNIX for Advanced & Expert Users

SCO OpenServer Error - there are not enogh disk resources

Hello, My System configuration is as: IDE Hrad Disk = 80GB RAM = 512MB While doing installation of SCO Open Server 5.0.7, I got stuck at second phase (i.e. IQM). During this phase, I selected for "Fresh" installtion and after that go for "Customizing Partitions and FileSystems". But it... (3 Replies)
Discussion started by: ghimanshu
3 Replies

3. Solaris

True or false ? - Sun cluster 3.2 U3 questions...

I'm using clustered zones on my machine. i'm only at the test phase of my design and ultimately the oracle zones will be using VxVM. When the testing phase is complete, VxVM will be used in the containers. It is necessary for VxVM to run in the global zone for the containers to use it (is... (5 Replies)
Discussion started by: frustin
5 Replies

4. Shell Programming and Scripting

IF vs CASE

Hi, Can someone tell me the difference between IF and CASE with an example. I am new to UNIX and i am still in the learning phase. Thanks in advance. Regards, Karthik (6 Replies)
Discussion started by: karthikkasarla
6 Replies

5. Shell Programming and Scripting

Match look up file and find result

Hi I ahve a lookup file wiht seven words CD HT CAD HT T1D T2D BDanother file contain data like this CHRM1 P11229 Pirenzepine DAP000492 Peptic ulcer disease Approved T2D CHRM1 P11229 Glycopyrrolate DAP001116 Anesthetic Approved T2D CHRM1 P11229 ... (7 Replies)
Discussion started by: manigrover
7 Replies

6. AIX

Phase 3 fails while performing alt disk installation.

Hi All, I have been trying to perform alt disk installation for AIX 6.1 server. Phas 3 fails and bosboot is not getting updated. when i tried only phase 1 and phase 3 by skipping phase 2 for just testing purpose, then boot image was getting updated. But when i try phase3 after phase 2, boot... (3 Replies)
Discussion started by: Rockyc3400
3 Replies

7. Shell Programming and Scripting

Assignment with variable assigment

Hello All, I'm trying to assign integer values to variables using substitution in both the value and variable's name, i.e., number$x=$x where x is equal to one in the first assignment, two in the second assignment, and so on with x being incremented each time. However, when I do the... (7 Replies)
Discussion started by: tombombadil
7 Replies

8. What is on Your Mind?

Prototyping New Responsive Mobile for UNIX.COM - Phase III

From Prototyping New Responsive Mobile for UNIX.COM - Phase II, we move to Phase III. Basically, the core prototype for every day browsing the forums, replying, posting and editing on mobile is nearly finished with the exception of a few formatting issues with regard to rare system messages or... (4 Replies)
Discussion started by: Neo
4 Replies

9. What is on Your Mind?

Forum Update New Steps for UNIX.com

Dear Everyone, Thank you for all the great comments, feedback and patience during our recent modernization efforts at unix.com. Now, I need to decide where to go next, as we move into the next phase. Some of the ideas I have are: Make the UserCP experience and all those non-public... (6 Replies)
Discussion started by: Neo
6 Replies