Programming :: Profile Performance Software?

Aug 2, 2010

I am writing simple code to learn .However, I have trouble understanding the callgraph and explain which one take more CPU or running longer in the loop. I just wonder if anyone can help explaining to me.

Code:
int mysqr(int i)
{

[code]....

View 1 Replies


ADVERTISEMENT

Fedora :: Share Default Profile File By NIS Not Have To Setup Profile In Every NIS Clients?

Jul 28, 2010

How do I share default profile file by NIS so that I do not have to setup profile in every NIS clients?

View 3 Replies View Related

Ubuntu :: Edit Profile.ini To Lead To Windows Profile

Dec 21, 2010

I've already gotten into the .mozilla folder and found the profiles.ini file. My windows XP system has it's Documents and Settings folder on a seperate drive (D:Documents and settings) And I've located the profile (application datamozillafirefoxprofiles) Now all I need to do is put the path into the profiles.ini file in the .mozilla folder in Ubuntu. The problem is I don't know exactly how to format it.

In windows the path is:

How would I translate this into something ubuntu "follows?" I already have the profile name changed as well.

View 1 Replies View Related

Programming :: Finding The Username Of A User Who Has Logged In (roaming Profile)

Mar 14, 2011

I want to be able to create a php webpage that will show the logged in users files and how full their home directory is (roaming profiles). The php side isn't a problem....the problem is how do i determine the username of the user who is logged into Linux not the webpage itself?

What i want is when the user opens this page, it knows who they are already. I have seen this done on an intranet at work (don't know what OS it is running on tho) where I login to the network, view the page and it says my name.

View 6 Replies View Related

Programming :: Lost In Performance Programming With Sdl Instead Of Glx And X11?

Mar 19, 2011

While i was searching the internet google often answered with linuxquestions.org. Now where i cant find an answer through google i thought i'll register myself in here. I used to write some programs in ANSI C, OpenGL and xf86 (X11). Everything is working well. Now i want my programs to run under windows XP/Vista/7 too. As far as i read at LQ SDL is an API which provides me with a window and other stuff i need, like sound. My Questions are now:

Do i have lost in performance programming with sdl instead of glx and x11? How "much" do i lose? Do i get more performance when i program seperate glx/x11 and gl/WinAPI? sure, i have to program each thing twice. like window initialization and keymapping.

View 2 Replies View Related

Programming :: Performance Difference Between 32bit And 64bit

Apr 10, 2010

Now, I'm ready to run my program, and my code is based on 32bit version. So I run the program on Ubuntu 9.10 32bit. And I got running time for 48s. But that's a bit slower than I expected; the program has bunch of File I/O processing but the result(48s) just doesn't make sense compared to given initial data set. So I just run the same program and same initial data set on Ubuntu 9.10 64bit ver. Then, bang!! it took 1.4s to finish the job.

Do you have any thoughts what kind of fact might make this significant difference? The differences b/w those two OS are "32 vs 64" and 32bit version has Java SDK, Eclipse, Apache2, Mysql, PHP, CGI, and python. We-server service is running but because I'm not really running web server. Did the result come from these background programs?

-- I tested it on the both OS in the same situation as possible as I can.
(reboot->test)

-- BTW 64bit one doesn't have those programs. I just installed on my external hard drive, so it's literary PURE one. (32bit one also in the same HDD)

-- I run these Ubuntus on VMware

View 3 Replies View Related

Programming :: Will Multi-Threading Improve Performance?

May 18, 2011

So I have built a program that takes a picture from two cameras every second and converts them both to jpeg format. The problem is that currently it takes ~2 seconds to convert a single raw photo to jpeg format, thus every second I add another raw photo (30 MB) to ram waiting to be converted to jpeg. So, theoretically the conversion to jpeg is running on a single core with hyperthreading, would I see better performance running the exact same process (a program pulling from a queue and converting to jpeg) running as a single process, or two concurrent processes? (both processes running on the same core, (so 1 thread on one clock cycle, the other on the other... (or one thread running on 1 core and the other on another core. What other steps would you take to improve the performance so there would no longer be a race condition?

-Currently using QT

View 5 Replies View Related

Programming :: Tools Used For Testing Performance Of C And C++ Programs

Nov 17, 2008

I would like to know the Tools which are used for Testing the performance of C and C++ programs under linux?

View 4 Replies View Related

Ubuntu :: Ondemand Vs Performance - Increases The Clock Speed To Performance When The CPU Is Under Load

Jul 31, 2010

I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.

View 7 Replies View Related

Programming :: MinGW - Performance Is Degarding - Version To Win32 Version

Jul 10, 2009

I've made a linux app that I'm porting to win32 winth MinGW and MSYS. It's a ticker app that reads then renders a text file to a pixmap (a tall single-line image), then it kind of scrolls the pixmap by drawing a part of it to a drawing_area, using gdk_draw_drawable() within a timeout handler set by g_timeout_add().

The problem is it works fine on linux (the scrolling is really smooth and that's the goal) but the win version is choppy and uses at least 90% of cpu resources (vs 15% with linux) like there is a big performance problem. And I'm not even sure that double buffering is set. Is it related to some mingw config or drawing_area stuff or gtk for win?

View 5 Replies View Related

Fedora :: How To Delete Profile

Sep 2, 2009

might sound stupid as this must have been asked before but how do i delete my profile?

View 2 Replies View Related

Ubuntu :: Delete A Profile On 10.04?

Aug 27, 2010

How do I delete a profile on Ubuntu 10.04. A friend of mine was over and he added a profile on my computer and now sudo doesn't work, and on top of that when I go to update my comp it never prompts me for my password and just restarts the Update Manager.

View 6 Replies View Related

Ubuntu :: Run Firefox With A Profile?

Feb 19, 2010

i have created a custom profile for firefox. i am being able to open firefox with this profile but i want also want to run another command with it. let me explain more. so this opens firefox with desired profile. Code: firefox -P/root/.mozilla/firefox/oscucdwa.customprofile and this runs my script well Code: firefox "javascript:window.open('htp://yahoo.com','myapp',toolbar=0,menubar=0); lf.close();" but i somehow want to combine them together. like achieve both in one command

View 3 Replies View Related

General :: Difference Between .profile And .env?

Oct 12, 2010

How can i edit the environment file?

View 3 Replies View Related

General :: How To Upload Pic Into Profile

Jul 12, 2010

how can i upload my pic into my profile.

View 9 Replies View Related

General :: How To Recover Profile

Apr 24, 2011

I am using red-hat linux-5 version. My profile become corrupt and now I can't see the files, folders I had saved. How can I recover my corrupt profile.when I open my profile there appears no data.

View 1 Replies View Related

General :: Profile Is Not Sourced On Startup?

Mar 1, 2011

I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile

export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh

Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .

View 1 Replies View Related

Ubuntu :: Change OS Version In Profile?

Mar 5, 2010

How do I change the OS version in my profile. I have gone from 8.04 to 9.04 (so far).

View 2 Replies View Related

Ubuntu :: How To Get Profile To Work Well With Thunderbird

Apr 2, 2010

i have done this once before, but recently suffered corrupted profile.i have a dual-boot system, windows vista and ubuntu on one physical disc (hdo, seperate partitions). i have another physical disc (hd1) that has an ntfs partition, and on it are stored my firefox and thunderbird profiles.when i use firefox and thunderbird in windows, both profiles are on the hd1 drive (email, bookmarks, etc.)in ubuntu, i have the ntfs partition on hd1 automount, so that i can use it.

in ubuntu: i have made thunderbird share the thunderbird profile on this partition (hd1), but recently, trying to set up the profilemanager to access this has caused me problems and while starting thunderbird, i see all my emails for a brief second (in the inbox), and then they disappear.i am using the latest thunderbird from the unmaintained repositories (3.0.5), but i don't have a problem reverting back to an older version...i use it for gmail, so the folder i point profilemanager to is:/media/sdb1/Mozilla Profiles/Thunderbird/Mail/pop. gmail.com/Mail/pop.gmail.com

this is where my inbox, sent items are stored.can anyone give advice on how to get this profile to work well with thunderbird in ubuntu ? i have read the mozillazine help pages, but it's not specific to my situation because i am trying to share a profile i have moved to a seperate location ..

View 6 Replies View Related

Ubuntu :: Where Are Terminal's Profile Setting Kept

Apr 25, 2010

Where does Ubuntu store the profiles information for Terminal sessions (e.g., colors, title bar menu on/off, etc.)? I managed to turn off the menu then set that as a default and can't access the profiles menu any more.

View 2 Replies View Related

Ubuntu :: ~Name/.profile - Not Impacting Terminal ?

May 2, 2010

I have edited my profile for bash and it does not impact the Terminals I open in the GUI. If I open a TTY it does. How do I update for both ........

View 7 Replies View Related

Ubuntu :: Transfer Firefox Profile From 10.04 To 10.04?

Jun 23, 2010

Is there an easy way to transfer the Firefox profile from one computer to another? Both running Ubuntu 10.04, and FF 3.6.Is it just a case of transferring the folders over via usb stick?

View 3 Replies View Related

Ubuntu :: Can Use Same User Profile Between GNOME And KDE?

Jul 7, 2010

I've been using Ubuntu with GNOME for the past few years and I'm looking at possibly switching to the KDE-based Kubuntu. I know I can have both DE's on my system and even found a tutorial on the Psychocats site for setting it up, but I have a question for the KDE gurus here. Can I safely use the same user profile between both GNOME and KDE or should I set up a new user for working in KDE? I haven't seen anything saying I can't but I really don't want to hose my GNOME settings in case I end up not liking KDE enough to use it on a daily basis.

View 9 Replies View Related

Ubuntu :: Erase Profile At Logoff

Aug 3, 2010

I work for a public school and we are implementing a number of Ubuntu NBR 9.1 netbooks. I wanted to use Likewise Active Directory for authentication, but have problems with the software so now I'm onto another solution for our problem.
We are going to have one login for all users (Students, is the name). The problem with this is that Website passwords can inadvertantly be stored, potentially compromising users personal data. Additionally, I don't want to have any files left in the Students profile in case people accidentally save personal information in their files.I'm thinking there are potentially two solutions:

1. The Students profile is deleted when the user logs off. This will erase web history and files

2. The Students account is always logged in with a temporary profile (or no profile, if that is possible) that deletes itself at logoff because it is temporary.

I'm having a hard time coming up with search terms for a solution like this, so I thought I would put the question to the experts.

View 1 Replies View Related

Ubuntu :: Change Used Version In Profile?

Sep 29, 2010

When I write a reply in the forum the information on the left says that I am using "Jaunty Jackalope". However, I am on Maverick development release.

Quote:

Join Date: Nov 2005
Beans: 239
Ubuntu Jaunty Jackalope (testing)

How can I change this information. Seems not to be in the profile.

View 2 Replies View Related

Ubuntu :: MeMenu Picture How To Add Profile Pic

Oct 14, 2010

I miss seeing my picture in the MeMenu. Now that I've upgraded from 10.04 to 10.10, I notice it doesn't display there anymore. Does anyone know how I can add this feature back in? Not sure why this was removed, I thought it looked nice with the picture there.

View 1 Replies View Related

Ubuntu :: Empathy Profile Located In 10.10?

Nov 1, 2010

i want to backup my account settings (icq, jabber etc.) for empathy in Ubuntu 10.10, but i couldn't find the location. It's not in ~/.gnome2 or in ~/.gconf/apps/..

View 2 Replies View Related

Ubuntu :: Moving Thunderbird Profile From One Pc To Another?

Jan 12, 2011

I've recently re-installed Ubuntu 10.10 since I had some problems upgrading from 10.04. The pc is only used to read e-mail och browse the web, so I saved the profile folder from the old installation and put it in the .thunderbird folder in the new one. I also replaced the automatically generated profile name in the profiles.ini file, with the profile name from the old installation. I used this method once before, and back then I just started Thunderbird and it found all mails and contacts and so on. This time, it only shows the "Mail Account Setup" dialog box, in which you're supposed to fill in your accout information.

View 6 Replies View Related

Ubuntu :: Making 1 Profile Default When More Than 1?

Jun 23, 2011

We have a stripped down version of Ubuntu 10.04 with no menu options for security. On the admin profile we have set up a terminal window for editing or adding users.We have created a second user with no admin privileges which we want to make the default on start up. This account is set to auto-login and takes them to a generic screen with just one icon to select and do anything with. I need to make this user the default on start up instead of the admin account as we do not want users knowing there is anything else available.When using the $ :users-admin in the terminal window to build the other account I have no option to make one or the other default. Is this done from the command line or is there another way of making this happen?

View 1 Replies View Related

Red Hat / Fedora :: Difference Between Two Profile Files?

Jan 20, 2010

There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved