Texas Instruments unveils quad-core OMAP 5 SoC
thinq.co.uk2 pointsby surki0 comments
find $PWD -type f -ls | awk '{gsub("/", ";", $11); print $11" "$7}' | flamegraph.pl --title "Disk usage" --countname "bytes" --nametype "file" --width 1900 --minwidth 0.05 [surki@linux-vrse tt]$ cat | gcc -nostdlib -x c - -o helloworld
#define SYS_exit 1
#define SYS_write 4
#define stdout 1
int strlen(const char *str)
{
long len = 0;
while (str && *str++)
{
len++;
}
return len;
}
void print(const char *str)
{
int len = strlen(str);
long ret;
/* Can't touch ebx directly, PIC uses it */
__asm__ __volatile__ ("pushl %%ebx\n"
"movl %%esi, %%ebx\n"
"int $0x80\n;"
"popl %%ebx"
"a" (SYS_write),
"S" ((long) stdout),
"c" ((long) str),
"d" ((long) len));
return;
}
void _start()
{
main();
__asm__ __volatile__ (
"xorl %%ebx, %%ebx\n"
"int $0x80\n"
"a" (SYS_exit));
}
int main()
{
print("Hello World\n");
return 0;
}
[surki@linux-vrse tt]$ strip -R .comment -R .comment.SUSE.OPTs -R .note.gnu.build-id helloworld
[surki@linux-vrse tt]$ ll helloworld
-rwxr-xr-x 1 suresh users 540 2010-07-21 13:19 helloworld
[surki@linux-vrse tt]$ ./helloworld
Hello World ;; Launch emacs
(defcommand emacs () ()
(run-or-raise
"urxvt -title emacs -e screen -U -dRR -S emacs -c ~/.screenrc.emacs"
'(:title "emacs" :instance "urxvt" :class "URxvt")))
which will launch emacs (or raise it if it was already launched). - Make sure your TERM is exported appropriatly.
Otherwise you may end up with less colors (M-x list-colors-display).
Screen fiddles with TERM and emacs may end up supporting less colors.
- Copy/Paste between regular X apps and the emacs will not work.
You would need to use something like "xsel". See here [1]
- Some of the keys may not work as expected. This will be
apparent especially when using orgmode. You may want to
remap them appropriately
And also I suggest you use Emacs + Wanderlust setup for email (and put it in a screen session as well). watch -n 1 ps -eo pid,ppid,wchan=WIDE-WCHAN-COLUMN,stat,command r > Not perfect, but I find it's more natural to write in org-mode
Do you have any specifics on the problems you faced? I produced my master thesis entirely using orgmode without any problem. (defined custom latex class, with different kind of ToC etc, not that difficult)
This will let us find the false sharing cost (cache contention etc).
https://joemario.github.io/blog/2016/09/01/c2c-blog/