CT(3) TAU Instrumentation API CT(3)NAME
CT - Returns the type information for a variable
SYNOPSIS
C/C++:
CT(<type> variable);
DESCRIPTION
The CT macro returns the runtime type information string of a variable. This is useful in constructing the type parameter of the
TAU_PROFILE macro. For templates, the type information can be constructed using the type of the return and the type of each of the
arguments (parameters) of the template. The example in the following macro will clarify this.
EXAMPLE
C/C++ :
TAU_PROFILE("foo::memberfunc()", CT(*this), TAU_DEFAULT);
SEE ALSO
TAU_PROFILE, TAU_PROFILE_TIMER(3), TAU_TYPE_STRING(3)
08/31/2005 CT(3)
Check Out this Related Man Page
TAU_MAPPING_CREATE(3) TAU Mapping API TAU_MAPPING_CREATE(3)NAME
TAU_MAPPING_CREATE - Creates a mapping
SYNOPSIS
C/C++:
TAU_MAPPING_CREATE(char *name, char *type, char *groupname, unsigned long key, int tid);
DESCRIPTION
TAU_MAPPING_CREATE creates a mapping and associates it with the key that is specified. Later, this key may be used to retrieve the
FunctionInfo object associated with this key for timing purposes. The thread identifier is specified in the tid parameter.
EXAMPLE
C/C++ :
class MyClass {
public:
MyClass() {
TAU_MAPPING_LINK(runtimer, TAU_USER);
}
~MyClass() {}
void Run(void) {
TAU_MAPPING_PROFILE(runtimer); // For one object
TAU_PROFILE("MyClass::Run()", " void (void)", TAU_USER1);
cout <<"Sleeping for 2 secs..."<<endl;
sleep(2);
}
private:
TAU_MAPPING_OBJECT(runtimer) // EMBEDDED ASSOCIATION
};
int main(int argc, char **argv) {
TAU_PROFILE_INIT(argc, argv);
TAU_PROFILE("main()", "int (int, char **)", TAU_DEFAULT);
MyClass x, y, z;
TAU_MAPPING_CREATE("MyClass::Run() for object a", " " , TAU_USER,
"TAU_USER", 0);
MyClass a;
TAU_PROFILE_SET_NODE(0);
cout <<"Inside main"<<endl;
a.Run();
x.Run();
y.Run();
}
SEE ALSO TAU_MAPPING_LINK(3), TAU_MAPPING_OBJECT(3), TAU_MAPPING_PROFILE(3)
08/31/2005 TAU_MAPPING_CREATE(3)
Basically i have done created the script below, and it functions ok, it prints the access rights the user has. But i need it to print the group permissions, and other permissions, it would also be helpful if i could print the permissions in numeric form aswell, if it is possible. I have looked in... (50 Replies)
Discussion started by: Makaveli.2003
50 Replies
2. Post Here to Contact Site Administrators and Moderators
How i do i post a picture below my name as some of u have????
Is there a rule like only those who are moderators, administrators only can have a picture below their names???
If not, then kindly tell me how to post a picture below my name??
Thanks,
Nisha
:rolleyes: (44 Replies)
Hello,
I am trying to write a script in Perl which will send some data from a UNIX Box to a windows box. I am planning to create a TCP/IP communication port for the same. How do I go about this? Kindly help.
Regards,
Garric (50 Replies)
Hello,
I have connected storedge d2 to V440 running solaris 10. I had a raid 5 volume created using VXVM software. This morning when I rebooted the system, I get below error,
Apr 2 14:21:10 servername vxvm:vxconfigd: V-5-1-9576 Split Brain. da id is 0.1, while dm id is 0.0 for dm myapp-dg01... (52 Replies)
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (45 Replies)
Hi,
I try to list all files in a folder, including all the subdirs (and their subdirs) and all files contained in each of these folders. I then print it to a simple txt file.
I use ls -R -1 >test.txt
This sort of does what I need, yet, the result is something like:
It reasonably comes... (53 Replies)
I have an input file with contents like:
203969 OrdAcctCycChg USAGE_DAEMON1
203970 OrdAcctCycChg USAGE_DAEMON2
203971 OrdAcctCycChg USAGE_DAEMON3
203972 OrdAcctCycChg USAGE_DAEMON4
I need to extract variables in first column... (51 Replies)
Hi all,
In the given script code .
I want to pass the maximum value that variable "i" will have in function DivideJobs () to variable $max of function SubmitCondorJob().
Any help?
Thanks
#!/bin/bash ... (55 Replies)
Discussion started by: nrjrasaxena
55 Replies
9. Post Here to Contact Site Administrators and Moderators
Hello. I've searched the site but can't find a link to what the "Bits" and "bank account" is on my user profile. Can someone link me or briefly explain? (76 Replies)
Hello to all,
I would like to search sequences of bytes inside big binary file.
The bin file contains blocks of information, each block begins is estructured as follow:
1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33.
2- Next... (59 Replies)
Hi Guys
I am trying to move file containing more than two - at the 3rd line of each files to a new directory. The files are something like this :
****** Text ******
/text/
text text
I want to make sure the search effect only take place on the 3rd line one as there might me... (46 Replies)
HI Folks -
I hope all is well! I have a business process where I manage a text file of substitution variables and their values for a target system. After updating, I run a script to push the changes to the target system.
However, I'm trying to develop a method to be able to automatically... (50 Replies)
Dear All,
We are now beta testing our future "Live Chat" area using PubNub technology.
https://community.unix.com/
This purpose of this testing is to test the core system, in general, and to see how many, if any, bugs crawl out of the woodwork.
This "Live Chat" is not the... (48 Replies)