BuddyPress by default does not provide any such feature. It will require custom coding to add this feature to our site. However, thankfully BuddyPress is a large community and one can easily get an add-on plugin for most of his requirements. For this, you can easily check who viewed your BuddyPress profile with the help of BuddyPress Recent Profile Visitor Plugin.
Who Viewed My Profile BuddyPress
Update on March 17, 2020