Search found 12021 matches

by fxm
May 02, 2024 16:38
Forum: General
Topic: [FBC 1.10.1 BUG] Define concat and stringize
Replies: 4
Views: 155

Re: [FBC 1.10.1 BUG] Define concat and stringize

Me too, but I regret that Discord takes priority over the Forum (I suppose the question was asked on both).
by fxm
May 01, 2024 20:15
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

New related pages in documentation: - Compiler Option: -profgen - __FB_PROFILE__ - __FB_OPTION_PROFILE__ - Profiling with fb's profiler (in Programmer's Guide) + Many slightly modified pages. In documentation, the update regarding profiling (with fb's profiler) is now pretty much finalized.
by fxm
May 01, 2024 16:21
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

Profiling report in case of multi-threading The report of a block per thread: (main), (thread)#1, (thread)#2, ..., suits me perfectly. But accumulation of procedures (or builtin instructions) should only be carried out in the same thread, because it is illogical to add up the execution times of pro...
by fxm
Apr 30, 2024 18:39
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

@ Jeff , Simple example, profiling a freebasic program and generating the default report: A simple example: #cmdline "-profgen fb" sub Pause100 sleep 100, 1 end sub sub Pause200 sleep 200, 1 end sub sub Pause400 sleep 400, 1 end sub for i as integer = 1 to 3 Pause100 next Pause200 Pause400...
by fxm
Apr 30, 2024 9:40
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

@ Jeff , Why the call tree representation depends on the procedure-name size (the only change) ? #cmdline "-profgen fb" #include once "fbc-int/profile.bi" Using FBC ProfileSetOptions( fbc.PROFILE_OPTION_REPORT_CALLTREE ) sub t( byval n as integer ) sleep 100, 1 if( n > 0 ) then t...
by fxm
Apr 29, 2024 20:17
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

New related pages in documentation:
- Compiler Option: -profgen
- __FB_PROFILE__
- __FB_OPTION_PROFILE__
- Profiling with fb's profiler (in Programmer's Guide)
+ Many slightly modified pages.
by fxm
Apr 29, 2024 15:40
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

@ Jeff , 1) Could you give a little information on these SUBs that can be used in the case of multi-threading ? #if __FB_MT__ extern "rtlib" declare sub fbProfileLock alias "fb_ProfileLock" () declare sub fbProfileUnlock alias "fb_ProfileUnlock" () end extern #endif 2) ...
by fxm
Apr 28, 2024 20:10
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

No problem for me with Windows 10.

Note:
I also updated after the 'inc' directory from:
freebasic_additional_headers.zip
but that should not be necessary for this.
by fxm
Apr 28, 2024 13:46
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

About documentation update: - Added 'Compiler Option: -profgen' page. - Waiting for new update to add '__FB_PROFILE__' and '__FB_OPTION_PROFILE__'. - @ Jeff : For the Programmer's Guide, a single page containing profiling for both gmon/gprof and fb's profiler, or 2 separate pages (the simpler in my...
by fxm
Apr 28, 2024 12:21
Forum: Documentation
Topic: Profiling freebasic programs
Replies: 26
Views: 1890

Re: Profiling freebasic programs

About documentation update: - Added 'Compiler Option: -profgen' page. - Waiting for new update to add '__FB_PROFILE__' and '__FB_OPTION_PROFILE__'. - @ Jeff : For the Programmer's Guide, a single page containing profiling for both gmon/gprof and fb's profiler, or 2 separate pages (the simpler in my ...
by fxm
Apr 27, 2024 19:12
Forum: General
Topic: Window Screen Command?
Replies: 1
Views: 254

Re: Window Screen Command?

Instead of 'WINDOW SCREEN .....', use 'VIEW SCREEN .....' instead.
But no solution for 'PRINT' which is not a graphic instruction. Use 'DRAW STRING' instead.
by fxm
Apr 26, 2024 8:44
Forum: Community Discussion
Topic: FPS Limiter
Replies: 1
Views: 165

Re: FPS Limiter

Welcome to the forum! In addition to all the forum user codes ( Search for keywords: FPS , Search within: Topic titles only , Display results as: Topics ): https://www.freebasic.net/forum/search.php?keywords=FPS&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&...
by fxm
Apr 24, 2024 20:05
Forum: Beginners
Topic: Beginners using FreeBASIC and FbEdit have no "fbc.exe"
Replies: 3
Views: 225

Re: Beginners using FreeBASIC and FbEdit have no "fbc.exe"

Have you dowloaded your version from this Version 1.10.1 Released page?
by fxm
Apr 24, 2024 19:42
Forum: Beginners
Topic: 64bit FreeBASIC has no FB.chm help file
Replies: 2
Views: 201

Re: 64bit FreeBASIC has no FB.chm help file

For the manual, see Version 1.10.1 Released, "Documentation" paragraph.
by fxm
Apr 24, 2024 14:25
Forum: Beginners
Topic: Beginners using FreeBASIC and FbEdit have no "fbc.exe"
Replies: 3
Views: 225

Re: Beginners using FreeBASIC and FbEdit have no "fbc.exe"

Because you have downloaded a combined 32bit and 64bit FreeBASIC version (containing both fbc32.exe and fbc64.exe).
If you download a 32bit only or 64bit only FreeBASIC version, each contains a single fbc.exe (either for 32bit or 64bit).